Hello, I have a requirement to get the messages that have been successfully consumed. My application is using the DefaultMessageListenerContainer of spring for the listeners.
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. I tried using the advisory for consumed but it doesnt seem to be working properly. 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(intentionally). 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 spring transaction management. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Advisory-for-MessageConsumed-tp3547010p3547010.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.