Re: Activemq or Artemis lifecycle events

2017-01-13 Thread Justin Bertram
Artemis live/backup using shared journal storage I believe should be closest to what you were looking at with ActiveMQ 5.x. And yes, ActivateCallback#activationComplete should only be called when a broker completely activates (i.e. becomes live in the live/backup use-case). Justin - Origi

Re: Activemq or Artemis lifecycle events

2017-01-13 Thread preben
Thanks Justin I'm not so familiar with Artemis, but what would be the equivalent of activemq master/slave topology in the Artemis world, would that be live backup groups (only one should be master) ? Would the eg. ActivateCallback#activationComplete callback only be called on the broker that beco

Re: Activemq or Artemis lifecycle events

2017-01-13 Thread Justin Bertram
I can only really speak in regards to Artemis as I'm only familiar with it's internals. You can implement org.apache.activemq.artemis.core.server.ActivateCallback and pass it to org.apache.activemq.artemis.core.server.ActiveMQServer#registerActivateCallback to be notified of your embedded brok

Activemq or Artemis lifecycle events

2017-01-13 Thread preben
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 l

Re: MapMessage received it always empty

2017-01-13 Thread Steve
I think I just answered my own question with some more google searching. I found the following discussion on this: http://stackoverflow.com/questions/19538374/activemq-mapmessage-receive-message-with-empty-thetable Seems that until you actually parse into the MapMessage contents explicitly, atte

MapMessage received it always empty

2017-01-13 Thread Steve
Hello, In my application, I am sending a MapMessage to a Queue via an embedded ActiveMQ broker from one thread, and receiving it in another thread in the same application (in a class that implements the MessageListener interface). Log statements in my application indicate that the contents of the