activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <>
Subject Re: Regarding Store and Forward: Network of Brokers
Date Tue, 19 Feb 2008 00:28:55 GMT
On Feb 18, 2008 1:08 PM, wha <> wrote:
> How did you make it work ?
> I've been trying forever to make my brokerA talk to my BrokerB
> I have the following setup:
> Consumer -> BrokerB <--> BrokerA <- Producer
> My messages get stuck on Broker A, even though network connection between
> BrokerA and BrokerB has been established. I have set dynamicOnly to true and
> networkTTL to 2.
> Did you do anything else extra? My messages are not being forwarded from
> BrokerA to BrokerB :(

First make it work without using dynamicOnly, just in case there is a
bug with it. To do this, just set up a network connector in brokerA
that points to brokerB as well as a network connector in brokerB that
points to brokerA. Below is an example:

      <networkConnector name="brokerA" networkTTL="2"

      <networkConnector name="brokerB" networkTTL="2"

Then just start up the consumer on brokerA like so:

$ ant consumer -Durl=tcp://localhost:61611

And now start up the producer like so:

 ant producer -Durl=tcp://localhost:61612

The producer will send 10 messages and shut down and the consumer will
receive 10 messages and shut down.

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

Apache ActiveMQ -
Apache Camel -
Apache ServiceMix -
Apache Geronimo -


View raw message