activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mail82amol <>
Subject Failover issue in ActiveMQ
Date Tue, 26 Apr 2011 13:47:04 GMT
Hi ,

We have a cluster of two brokers with the below configuration.

Broker A
    <broker xmlns=""
brokerName="broker-A" dataDirectory="${activemq.base}/data">

            <networkConnector uri="static://(tcp://brokerB-IP:7115)"

             <transportConnector brokerName="broker-A"


Broker B

    <broker xmlns=""
brokerName="broker-B" dataDirectory="${activemq.base}/data">

            <networkConnector uri="static://(tcp://brokerA-IP:7115)"

             <transportConnector brokerName="broker-B"


Now the problem that we are facing is that when broker A has 10 messages and
has sent 7 messages to subscriber and at that point a failover occurs and
the remaining messages are recieved from broker B .

Now if the subscriber restarts and get connected to broker A it get those
three messages again from broker A which it has already recieved from broker
B after failover.

Please let us know if anyone has faced similar issue or is aware of the


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

View raw message