You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by bamx <be...@gmail.com> on 2014/10/03 15:55:26 UTC

Probleme with a queue in Network of brokers configuration

Hello,
 i'm begginer in 
<http://activemq.2283324.n4.nabble.com/file/n4686125/activemq.png> 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/n4686125/activemq.png> 



--
View this message in context: http://activemq.2283324.n4.nabble.com/Probleme-with-a-queue-in-Network-of-brokers-configuration-tp4686125.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.