1 of 1 people found this helpful
If you shutdown the server this is graceful, that mean all running executions (ejb timer, MDB, ejb and other invocations) try to complete the workand transaction.
So if the MDB has start processing a Message this will be finished. This is the expected behavior.
You might put more than one Message into the queue and delay it for a test.
Thanks for your prompt reply!
Just wanted to confirm what you have suggested:
I should put multiple messages in the queue. While MDB has picked up one of the messages for processing, I should shut down the server. Then all the rest of the messages in the queue should be processed by the other node which is still active. This will certify whether failover is happening correctly?
Yes, that's the expectation.
Maybe it depends on the JMS provider (JBoss Messaging or HornetQ) how to configure correct