activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: JMS Transactions and losing the connection
Date Thu, 29 Oct 2009 00:11:25 GMT
On Wed, Oct 28, 2009 at 5:10 PM, Drizzt321 <drizzt321@gmail.com> wrote:
>
> What will happen if a Session is transacted via JMS Transactions, and there
> is some kind of network hiccup that causes the Connection to be lost/reset.
> Will the transaction automatically be rolled back?

Yes.

> Do I need to call
> rollback on the new Session?

There's no need to do that.

> If the broker goes down (shutdown, or JVM terminates unexpectedly), I'm
> guessing that the transaction is completely lost and so no need to worry
> about a rollback, correct?

Correct.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message