Hi

I'm have a use case where i need simple messaging system embedded in a
spring boot app. 

The app. has to be HA, so I want to have 2 instances active for http
requests.
Messaging between the instances is setup as master/slave with kahadb and
shared filesystem.
 
At the same time there is some logic that can only run on one instance at a
time since it is statefull, calculated, and realtime clock based.

Is there any broker lifecycle events that one can hook into to listen for
broker events. eg. determine which instance becomes master and which slave ?

I was thinking of using such events on app. startup to start the processing
engine on the instance that becomes the master.

Best,
Preben

/Preben 





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Activemq-or-Artemis-lifecycle-events-tp4721058.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to