Destinations will only be propagated to other brokers when there is a
consumer for the destination.  If no consumers are connected, messages will
accumulate on the producer's broker but go no further, because there is no
indication of where they need to go since there are no consumers.

On Fri, Oct 3, 2014 at 7:52 AM, bamx <benmansour.amin...@gmail.com> wrote:

> 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>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Problem-in-configuration-network-of-brokers-tp4686123.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to