activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sheetal Kulkarni <>
Subject ActiveMQ DLQ Handling
Date Fri, 11 May 2012 05:44:02 GMT

i have configured DLQ policy for individual queue in activemq.xml as below:
  <policyEntry queue=">" >
          queuePrefix="DLQ." useQueueForQueueMessages="true" />

But still when i try to have some failing messages the messages are sent to
"ActiveMQ.DLQ" by default and not to the individual dead letter queues. I
have done configuration for redelivery policy in camel in activemq
connection factory as below?:

	<bean id="redeliveryPolicy" class="org.apache.activemq.RedeliveryPolicy">
		<property name="maximumRedeliveries">
		<property name="useExponentialBackOff">
		<property name="initialRedeliveryDelay">

	<bean id="jmsConnectionFactory"
		<property name="brokerURL" value="tcp://localhost:61616" />
        <property name="redeliveryPolicy" ref="redeliveryPolicy"/>		

I am using transactions and i see message is redelivered , but not to the
expected queue.

Please suggest
Where am i going wrong please tell me.

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

View raw message