activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Venkatraman <>
Subject Store and forward brokers issue
Date Mon, 22 Oct 2007 14:56:53 GMT


Am using

I have couple of standalone store and forward brokers running. With
configuration as shown below. Producers/Consumers/Brokers are using
multicast discovery.

Following is the problem i am facing:
When producer and consumer happen to discover and connect to the same broker
(say B1) even then many messages are getting forwarded to B2. And since
there are no consumers on B2 they remain there and are never consumed. 

Meanwhile the consumer connected to B1 receives no/very few messages.

I verified this by making a 2nd consumer connect directly to B2 and then it
consumes all the forwarded messages.

What I was expecting is that messages would never be forwarded to B2 as it
does not have any registered consumers.

When producer and consumer happen to discover and connect to different
brokers things work fine and all messages are consumed. 

Any help would be appreciated.


  <!-- Allows us to use system properties as variables in this configuration
file -->

    <broker brokerName="broker_vinod" useJmx="true"
        <journaledJDBC journalLogFiles="5"

       <transportConnector name="openwire" uri="tcp://localhost:61616"

      <!-- by default just auto discover the other brokers -->
      <networkConnector name="default-nc" uri="multicast://default"/>


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message