the default ACKNOWLEDGE mode is AUTO_ACKNOWLEDGE.when receive() returns the
message acknowledged,
you can use CLIENT_ACKNOWLEDGE mode alternatively.
for example:
session = connection.createSession(true, Session.CLIENT_ACKNOWLEDGE);
....
Message msg = ...
message.acknowledge();



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Message-Header-Update-AMQ-during-Retry-tp4694533p4694580.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to