I did make sure of persistence both in XML and while sending message
[producer.setDeliveryMode(DeliveryMode.PERSISTENT)].

Its still getting lost after fail-over. 

And I observed one more thing, after the fail-over, if I stop the active
broker it does not connect back to reinstated broker.
Flow:
Before failover1
App    (connects to) --->BrokerA  [BrokerB active but slave]
I restart BrokerA
After failover1
App    (connects to) --->BrokerB  [BrokerA is back but as slave]
I restart BrokerB this time
Failover 2
App    (does not connect) -----X     [Though BrokerA is active at this time,
it does not recognize]

Please guide me on how to resolve this.

Thank you very much for the reply... 




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/After-failover-earlier-messages-are-lost-tp4706630p4706713.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to