activemq-dev mailing list archives

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

HI,

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.


Thanks
Archana
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/I-need-to-rollback-the-message-if-any-failure-in-processing-tp3296850p3296850.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message