Using ActiveMQ 5.8.

Problem: I want to maintain kahaDB state while switching ActiveMQ broker
from one filer to another. 

Description: I am running ActiveMQ broker on a machine and having all kahaDB
in a directory. I have a use case where I want to switch my broker from this
system to another system where kahaDB logs will be stored in a new
directory. 
My requirement is to synchronize these logs. I don;t want to loose any
message. How should I achieve this ?

PS: 
I can synchronized kahadb logs from the old site to the new site and bring
up a broker with the sync'ed kahadb. But, since there would be a few minutes
window between each sync operation, a message sent, delivered and
acknowledged at the primary site could be sent again at the new site if
kahadb was synced before the message was acknowledged. This might lead to
some applications receiving a message twice leaving them in an inconsistent
state. 

Thanks,
Anuj





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Maintain-kahaDB-state-between-two-broker-tp4680914.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to