activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdifrango <>
Subject Broker Configuration - Redlivery Policy
Date Thu, 20 Feb 2014 18:08:53 GMT
I'm trying to set a global redilvery policy that anytime there is a failure
on my Message Listeners [via Spring] that all errors land in a single error
queue.  I trying to do so, I'm getting a failure upon reading my XML file
that I'm using to configure my broker.

My environment is:

Active MQ 5.9
Spring 3.2.4

Here is the config file [please note it works fine without the
<plugins><redeliveryPlugin> block:

<beans xmlns=""

		<property name="locations">

	<broker xmlns="" useJmx="false"
		brokerName="localhost" persistent="true" dataDirectory="${}">

					<policyEntry topic=">">
								limit="1000" />

			<managementContext createConnector="false" />

			<kahaDB directory="${}/kahadb" />

			<redeliveryPlugin sendToDlqIfMaxRetriesExceeded="true">
							<redeliveryPolicy initialRedeliveryDelay="5000"
maximumRedeliveries="1" queue="error.epf.audit.queue"/>

					<memoryUsage percentOfJvmHeap="70" />
					<storeUsage limit="100 gb" />
					<tempUsage limit="50 gb" />

			<transportConnector name="openwire"

			<bean xmlns=""
class="org.apache.activemq.hooks.SpringContextHook" />



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

View raw message