activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khandelwalanuj <>
Subject Maintain kahaDB state between two broker
Date Tue, 06 May 2014 07:29:29 GMT
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
My requirement is to synchronize these logs. I don;t want to loose any
message. How should I achieve this ?

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


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

View raw message