activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: invalid broker url
Date Mon, 02 Mar 2015 20:43:04 GMT
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&amp;jms.redeliveryPolicy.maximumRedeliveries=4,tcp://localhost:61617?keepAlive=true&amp;jms.redeliveryPolicy.maximumRedeliveries=4,tcp://localhost:61618?keepAlive=true&amp;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.bish@redhat.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message