what is the expected behavior when MDB configured to run in CMT mode and just before Messaging service gets the acknowledgement it died? observed behavior is message is not deleted from the messaging service since the ack not received. when the message service came back again it message was redelivered that caused the duplication. Is this something container to take care such scenarios or application has to handle them.
Thanks for the input!
posted 6 years ago
learnt that just before the 2phase commit Transaction manager checks with the resources involved in this transaction. ack is part of whole transaction even if the acknowledgement fails it considered that transaction failed and everything has to rollback.