Your best bet is to take a look at the test case Gary recommended. Will
probably be easiest.


On Mon, Jul 22, 2013 at 4:50 AM, Tushar Nagar <tushar_3...@yahoo.co.in>wrote:

> Hey, thanks for the reply....
>
> but the thing is, I am not able to see the DLQ in my ActiveMQ web console
> i.e. http://localhost:8161/admin/queues.jsp
> and so I am not able to detect whether my messages hv been enqueued in the
> DLQ or not. when I am running the consumer, the DLQ is session is getting
> rollbacked but the message stays there in the queue. I want this message to
> go to the DLQ on rollback.
>
> I am attaching my activemq.xml, my producer and consumer. It would be
> really
> appreciable if you will tell me whether I am missing on anything or not!!!
> Producer.java
> <http://activemq.2283324.n4.nabble.com/file/n4669564/Producer.java>
> activemq.xml
> <http://activemq.2283324.n4.nabble.com/file/n4669564/activemq.xml>
> Consumer.java
> <http://activemq.2283324.n4.nabble.com/file/n4669564/Consumer.java>
>
>
>
>
> --
> 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-tp4669435p4669564.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to