On Feb 13, 2008 2:30 PM, GeekPro <[EMAIL PROTECTED]> 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:

http://activemq.apache.org/networks-of-brokers.html

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.

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to