activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Transferring messages to a Dead Letter Queue on a Custom Exception on Message Consumer side.
Date Tue, 23 Jul 2013 00:24:39 GMT
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_3007@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message