peek at 
https://github.com/apache/activemq/blob/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/MessageListenerRedeliveryTest.java#L318

On 18 July 2013 06:50, Tushar Nagar <tushar_3...@yahoo.co.in> wrote:
> Hi,
>
> I hv been trying this but was unable to find it anywhere. I hv a scenario
> where I hv a queue in ActiveMQ and on the message consumer side If I
> encounter an exception while processing that message, I want this message to
> be en-queued in the dead letter queue/Poison Queue. The condition here is, I
> don't want my consumer to send me the message if an exception occurs. I need
> to handle that internally as my consumer is an another application.
>
> It would be really appreciable if anybody can help me with this.
>
> Thanks in advance.
>
> Tushar Nagar
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Transferring-messages-to-a-Dead-Letter-Queue-on-a-Custom-Exception-on-Message-Consumer-side-tp4669435.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://redhat.com
http://blog.garytully.com

Reply via email to