Hi,

just tried
failover:(tcp://localhost:61616)?randomize=false&jms.redeliveryPolicy.maximumRedeliveries=2
and it works fine. Which version of AMQ are you using?

Cheers
--
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Mon, Mar 30, 2009 at 1:45 PM, boniek <bonie...@gmail.com> wrote:

>
> 2009-03-30 13:44:02,728 ERROR [STDERR] javax.jms.JMSException: Could not
> create Transport. Reason: java.lang.IllegalArgumentException: Invalid
> connect parameters: {jms.redeliveryPolicy.maximumRedeliveries=2}
> 2009-03-30 13:44:02,728 ERROR [STDERR]  at
>
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
> 2009-03-30 13:44:02,728 ERROR [STDERR]  at
>
> org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:239)
>
> For the record I'm trying to use activemq inside JBoss.
>
> --
> View this message in context:
> http://www.nabble.com/Failover-and-redeliverypolicy-in-one-connection-uri-tp22780954p22781412.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Reply via email to