activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From archana saini <>
Subject I need to rollback the message if any failure in processing.
Date Wed, 09 Feb 2011 09:24:06 GMT


I am new to ActiveMQ. 
I am builiding a JAVA application which recieve messages from a ActiveMQ
queue and insert the data in DB. 
I want, if the DB insert fails due to a connection problem the message
should not be removed from the queue. Message should stay in queue untill
the successfull processing of the message.
I am using AUTO_ACKnoledge mode of session. 

Any help would be appretiated.

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

View raw message