and change ports numbers in following configuration.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<beans ...> | |
<broker ...> | |
... | |
<!-- | |
The transport connectors expose ActiveMQ over a given protocol to | |
clients and other brokers. For more information, see: | |
http://activemq.apache.org/configuring-transports.html | |
--> | |
<transportConnectors> | |
<!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB --> | |
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> | |
<transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> | |
<transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> | |
<transportConnector name="mqtt" uri="mqtt://0.0.0.0:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> | |
<transportConnector name="ws" uri="ws://0.0.0.0:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> | |
</transportConnectors> | |
... | |
</broker> | |
</beans> |
2) Changing web console port. Edit
and change following port in following config.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<beans ..> | |
.. | |
<bean id="jettyPort" class="org.apache.activemq.web.WebConsolePort" init-method="start"> | |
<!-- the default port number for the web console --> | |
<property name="host" value="0.0.0.0"/> | |
<property name="port" value="8161"/> | |
</bean> | |
... | |
</beans> |
No comments:
Post a Comment