activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Failover and redeliverypolicy in one connection uri
Date Mon, 30 Mar 2009 12:14:35 GMT
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 <boniek83@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.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message