activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karen <jaskaran1...@gmail.com>
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
listener. 

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
invoked. 

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
consumption? 
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  

http://activemq.2283324.n4.nabble.com/file/n3498773/wrapper.log 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: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-5-Not-able-to-get-the-DLQ-DELIVERY-FAILURE-CAUSE-PROPERTY-value-tp3492931p3498773.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message