java - activitiMQ为什么要加一个端口?
PHP中文网
PHP中文网 2017-04-17 17:55:34
0
1
228

activitiMQ为什么要加一个端口?

<bean id="targetConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="tcp://localhost:61616"/>
</bean>

集成springmvc后(一个web服务中)这个brokerURL怎么修改,还是就是这样

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
刘奇

Because ActiveMQ supports multiple protocols, including openwire, amqp, stomp, mqtt and ws
The 61616 written after the URL here uses the openwire protocol defined by ActiveMQ by default. Of course, you can also use other protocols
The Broker port corresponds to the protocol The configuration can be modified in conf/activemq.xml

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template