activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francois Guillemette <>
Subject JDBC master/slave redelivery problem
Date Wed, 22 Aug 2007 18:33:58 GMT

Hi, I got a problem with redelivery of message when using a JDBC master/slave

Here the step to reproduce:
 * I started 2 brokers in JDBC master/slave config, and I started 2
consumers (with CLIENT_ACKNOWLEDGE)
 * I sent one message (with redeliveryPolicy)
        RedeliveryPolicy repo= new RedeliveryPolicy();
 * The message is being consumed by one consumer (I have put a sleep before
the ack)
 * I killed the broker that has sent the message, the other broker take the
place of the master
 * I killed the consumer that got the message (before the
 * The other consumer don't get message

This test work if I don't kill the master broker. It look like that the
slave don't know the last state of the master broker before it is killed.

I'm wondering if I need to put something a kind of connection between the
broker so that they have the same state until one of them is killed.

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

View raw message