activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Transactional Producer - Messages after exception during commit
Date Tue, 20 Sep 2011 15:17:02 GMT
It depends on whether the broker got the commit message or not. If it
did not, then the transaction rolls back on the broker when it sees
the the disconnect.

If you are using failover, the client will report an exception. It
sees a missing reply but can't know the outcome so it must alert the
If the commit was not sent at the time of failover, the reconnect will
recreate the context and resend the messages, a subsequent commit will
work as expected.

On 19 September 2011 11:34, oseymen <> wrote:
> Hi all,
> In the scenario where a producer sends n messages in a transacted session
> and an exception is thrown during commit (due to network issues for
> example), what happens to those n messages sent (but not commited)?
> Would they still live in memory in the broker?
> Thanks,
> Ozan
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message