Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Problem in configuration network of brokers

$
0
0
Hello,
i'm begginer in using activemq, i want to configure a network of brokers
(two hosts) , i configure an activemq.xml in "host1" like this :

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="host1"
dataDirectory="${activemq.data}">

<networkConnectors>
<networkConnector duplex="true"
uri="static:(http://host1:61616,http://host2:61616)">

</networkConnector>
</networkConnectors>

<persistenceAdapter>
<kahaDB directory="${activemq.home}/../activemq_share"/>
</persistenceAdapter>

<transportConnectors>
<transportConnector uri="http://host1:61616"/>
</transportConnectors>

</broker>

in the activemq.xml of host 2 ,i replace uri= "host1" in transportConnector
and broker-name by "host2" .
when i run the activemq and when i access in webconsole of host1 or host2 i
can see the other host of a network but when i want to create a queue in
host 1, that not will be create automatically in host 2, is it normal ?
<http://activemq.2283324.n4.nabble.com/file/n4686123/activemq.png>

Viewing all articles
Browse latest Browse all 5648

Trending Articles