activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nvilmer <nvil...@researchnow.com>
Subject Re: Redelivery policy broken in 5.7.0
Date Tue, 13 Nov 2012 16:49:01 GMT
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.

Mime
View raw message