activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bausewein <>
Subject Re: Failover / Persistence
Date Wed, 23 Jul 2008 06:07:40 GMT

Hans Bausewein wrote:
> If the consumers store their result in a database (or some other
> transactional application), use XA transactions (2-phase commit). If
> storage fails, the message should go back to the queue where it came from
> (both transactions rolled back) and the other consumer will attempt to
> process the same message.

hmm, of course turning off autocommit and Session.rollback() on an exception
in the consumer would do fine in a stand-alone application.

Done too much J2EE, I guess.


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

View raw message