activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <joe.fernan...@ttmsolutions.com>
Subject Re: Question about Queue destinations in network of brokers
Date Tue, 06 Oct 2009 20:49:39 GMT

You should use the static and not failover connector to configure your
network of brokers. Also make sure that you have the appropriate values
assigned to the networkTTL and dynamicOnly parameters.  

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

Joe
http://www.ttmsolutions.com



farshad wrote:
> 
> I have a network of 4 brokers configuration with
> failover://(tcp://host1:61616,tcp://host2:61616,...) defined.  My first
> piece of java code connects to one of these hosts (randomly) and puts some
> messages in a queue destination (e.g. Document.QUEUE).  A second piece of
> java code connects to another one of these hosts and fails to read the
> messages.  Is this expected behaviour?  If I connect to one host and put
> messages in a queue and the host goes down what do I have to do to receive
> my messages connecting to another host in the network?
> 
> Thank you in advance,
> FarshadK
> 

-- 
View this message in context: http://www.nabble.com/Question-about-Queue-destinations-in-network-of-brokers-tp25776018p25776306.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message