On 03/02/2015 03:16 PM, arun196 wrote:
Thanks! Removing new line worked. maximumRedeliveries doesn't seem to work.
Am I doing it right?
This works -
brokerURL="failover:(tcp://localhost:61616?keepAlive=true,tcp://localhost:61617?keepAlive=true,tcp://localhost:61618?keepAlive=true)"
This doesn't work (brokerURL in single line with redeliveryPolicy) -
brokerURL="failover:(tcp://localhost:61616?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4,tcp://localhost:61617?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4,tcp://localhost:61618?keepAlive=true&jms.redeliveryPolicy.maximumRedeliveries=4)"
--
View this message in context:
http://activemq.2283324.n4.nabble.com/invalid-broker-url-tp4692311p4692317.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Did you try:
failover:(tcp://localhost:61616?keepAlive=true,tcp://localhost:61617?keepAlive=true,tcp://localhost:61618?keepAlive=true)?jms.redeliveryPolicy.maximumRedeliveries=4"
--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/