activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karen <>
Subject Re: ActiveMQ 5.5: Not able to get the DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY value
Date Thu, 05 May 2011 16:18:31 GMT
Sorry  forgot to attach the log file, resending message with a log file.

Hi Gary, 

I have enabled the advisoryForConsumed. 
My Queue name is 'Test' and it has a listener . 
Correspondingly there is an advisory topic called
'ActiveMQ.Advisory.MessageConsumed.Queue.Test' and this has its own

My use case to illustrate my problem is below:- 
1) Send a message to Test Queue. 
2) The listener for the Test Queue is invoked. And it throws an exception. 
3) Now the topic advisory ActiveMQ.Advisory.MessageConsumed.Queue.Test gets
a new advisory message. 
4) The listener for the ActiveMQ.Advisory.MessageConsumed.Queue.Test is

Is this supposed to happen even when a message was not consumed. I mean does
this advisory topic get a message for successfull as well as unsuccessfull
How do i get to know if a message was successfully consumed. 

Thanks for the help 

PS: i hope this problem isnt linked to the exception handling in Spring wrapper.log 
I noticed that  a message is sent to the consumed
advisory(ActiveMQ.Advisory.MessageConsumed.Queue.Test) before and after the
transaction rollback.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message