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.