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 Wed, 13 Feb 2008 21:35:12 GMT
On Feb 13, 2008 2:30 PM, GeekPro <> wrote:

> Thanqs alot for the quick response. Actually I am new to ActiveMQ I was not
> aware of the ttl config can you tell where exactly in the activemq.xml do I
> need to do what I shud do (Ex: 6 brokers in the network)

The networkTTL option is documented on the Network of Brokers pages on
the ActiveMQ website:

This option is configured on the network connector (the network
connector is for broker-to-broker communications).

> So according to you if we can configure accordingly we can publish to one
> broker and if the broker to which we sent is up still that broker will
> forward the messages to other brokers in the network. If I am wrong pls
> correct me because i.e our main requirement so that if any message is
> published to one broker we can connect all the other brokers with seperate
> client and consume the same message.

Yes, that is exactly how store-and-forward works in ActiveMQ. However,
messages will not traverse the broker network correctly without the
networkTTL set to the number of hops messages need to make.

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