You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by nvilmer <nv...@researchnow.com> on 2012/11/13 17:49:01 UTC

Re: Redelivery policy broken in 5.7.0

Use the queue property with the value set to * as show below. Adding a
destination did not work for me.

	<bean name="amqInfiniteRetryConnectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
		<property name="brokerURL" value="${amq.broker.url}" />
		<property name="redeliveryPolicy">
			<bean class="org.apache.activemq.RedeliveryPolicy">
				<property name="initialRedeliveryDelay" value="2000" />
				<property name="redeliveryDelay" value="20000" />
				<property name="useExponentialBackOff" value="true" />
				<property name="backOffMultiplier" value="2" />
				<property name="maximumRedeliveryDelay" value="120000" />
				<property name="maximumRedeliveries" value="-1" />
				<property name="queue" value="*" />
			</bean>
		</property>
	</bean>




--
View this message in context: http://activemq.2283324.n4.nabble.com/Redelivery-policy-broken-in-5-7-0-tp4658304p4659265.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Redelivery policy broken in 5.7.0

Posted by CodeWarrior <gl...@gmail.com>.
Adding <property name="queue" value="*" />	 resolved the issue for me.

Many thanks for the idea.




--
View this message in context: http://activemq.2283324.n4.nabble.com/Redelivery-policy-broken-in-5-7-0-tp4658304p4661611.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.