activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jin Voon <>
Subject redeliveryPolicy not working for ActiveMQ 5.3.2
Date Fri, 16 Jul 2010 11:32:21 GMT


I have set up redelivery policy in Spring for ActiveMQ but it seems like it
doesn't work when I tested it.  The rolledback transaction still caused the
message to be redelivered using the default settings e.g.
initialRedeliveryDelay=1000 and so on.  Does this actually ever worked or is
there something wrong with my setup?

<bean id="xaConnectionFactory"
	<property name="brokerURL" value="tcp://localhost:61616"/>
	<property name="userName" value=""/>
	<property name="password" value=""/>
	<property name="redeliveryPolicy" ref="redeliveryPolicy" />
<bean id="redeliveryPolicy" class="org.apache.activemq.RedeliveryPolicy">
	<property name="maximumRedeliveries" value="6"/>
	<property name="initialRedeliveryDelay" value="5000"/>
	<property name="useCollisionAvoidance" value="true"/>
	<property name="useExponentialBackOff" value="true"/>
	<property name="backOffMultiplier" value="2"/>

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message