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?

Rob


-- 
View this message in context: 
http://www.nabble.com/Uncommitted-transactions-during-master-slave-failover--tp16942850s2354p16942850.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to