activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spam trap <nospam.1.friedbad...@spamgourmet.com>
Subject Acknowledgements and transacted sessions
Date Mon, 28 May 2012 10:00:46 GMT
Hi,

Can someone help me understand better the way ActiveMQ handles
transactions and acknowledgements?

I need to write a consumer that processes a message.  If something
goes wrong or the consumer crashes we need the message to be consumed
again (when the consumer is restarted).

Should I use CLIENT_ACKNOWLEDGE (with message.acknowledge()) or
SESSION_TRANSACTED (with a session.commit())? 


Mime
View raw message