activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Bugh <>
Subject Uncommitted transactions during master/slave failover?
Date Mon, 28 Apr 2008 16:35:02 GMT

What happends to uncommitted transactions during master/slave failover?

I've configured two brokers as a JDBC Master and Slave. My client app
retrieves a message from a queue on the master, processes the message then
commits the transaction to permanently remove it from the queue.

The problem I'm seeing is, if during the processing of the message on
client-1 (before the commit) the master dies some other client-2 can
retrieved the same message from the new master. This presents a problem
because I now have two clients processing the same message.

Is there a way to configure the JDBC Master/Slave so transaction state is
preserved across failovers?


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

View raw message