You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mythz <de...@gmail.com> on 2007/09/25 13:37:46 UTC
Is it possible to have a DLQ for each Queue/Topic?
Is it possible to have a DLQ for each Queue/Topic? rather than all messages
going to ActiveMQ.DLQ?
i.e. getting poison messages for Test.Queue go to DLQ.Test.Queue?
--
View this message in context: http://www.nabble.com/Is-it-possible-to-have-a-DLQ-for-each-Queue-Topic--tf4514966s2354.html#a12877711
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Is it possible to have a DLQ for each Queue/Topic?
Posted by James Strachan <ja...@gmail.com>.
On 25/09/2007, mythz <de...@gmail.com> wrote:
>
> Is it possible to have a DLQ for each Queue/Topic? rather than all messages
> going to ActiveMQ.DLQ?
> i.e. getting poison messages for Test.Queue go to DLQ.Test.Queue?
Absolutely. Its just a case of specifying the strategy to use...
http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/region/policy/DeadLetterStrategy.html
The default is
http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/region/policy/SharedDeadLetterStrategy.html
sounds like you want
http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/region/policy/IndividualDeadLetterStrategy.html
--
James
-------
http://macstrac.blogspot.com/
Open Source SOA
http://open.iona.com