[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: Problems with ActiveMQ4.1.1 - Master/Slave brokers
From:       Cristian3001 <cristian.popescu () autodata ! net>
Date:       2007-05-28 18:32:38
Message-ID: 10840281.post () talk ! nabble ! com
[Download RAW message or body]


I've solved the problem by adding the following to the failover definition in
my spring configuration files of the listener:

<property name="brokerURL"
value="failover:(${host1},${host2})?jms.redeliveryPolicy.allPrefetchValues=${allPrefet \
chValues}&amp;jms.redeliveryPolicy.initialRedeliveryDelay=${initialRedeliveryDelay}&am \
p;jms.redeliveryPolicy.maximumRedeliveries=${maximumRedeliveries}&amp;jms.redeliveryPolicy.useCollisionAvoidance=${useCollisionAvoidance}"
 />

before it was just: 

<property name="brokerURL" value="failover:(${host1},${host2})" />
-- 
View this message in context: \
http://www.nabble.com/Problems-with-ActiveMQ4.1.1---Master-Slave-brokers-tf3828185s2354.html#a10840281
 Sent from the ActiveMQ - User mailing list archive at Nabble.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic