You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Sheetal Kulkarni <Sh...@sungard.com> on 2012/05/11 07:44:02 UTC
ActiveMQ DLQ Handling
hi,
i have configured DLQ policy for individual queue in activemq.xml as below:
<policyEntry queue=">" >
<deadLetterStrategy>
<individualDeadLetterStrategy
queuePrefix="DLQ." useQueueForQueueMessages="true" />
</deadLetterStrategy>
</policyEntry>
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">
<value>2</value>
</property>
<property name="useExponentialBackOff">
<value>true</value>
</property>
<property name="initialRedeliveryDelay">
<value>10</value>
</property>
</bean>
<bean id="jmsConnectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://localhost:61616" />
<property name="redeliveryPolicy" ref="redeliveryPolicy"/>
</bean>
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: http://activemq.2283324.n4.nabble.com/ActiveMQ-DLQ-Handling-tp4625527.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ DLQ Handling
Posted by Lamyrtee <lb...@gmail.com>.
Hello,
I'm encountouring the same problem you. I configurated activemq like:
<policyEntry queue=">">
<deadLetterStrategy>
<individualDeadLetterStrategy queuePrefix="DLQ."
useQueueForQueueMessages="true" />
</deadLetterStrategy>
</policyEntry>
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.
Did you find a solution to this problem? what can i do to solve it?
Thanks you in advance.
LaMyrtee
--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-DLQ-Handling-tp4625527p4708860.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.