ActiveMQ 的传输连接器配置
<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"/>
</transportConnectors>
uri中的ip地址表示 代理所在的 机器的ip地址,
tcp://0.0.0.0:61616? 其中的0.0.0.0表示本机地址,还可以配置为localhost,127.0.0.1 以及 本机的真实ip地址.
因此这里的 ip可以配置为4中形式.