• Post Reply Bookmark Topic Watch Topic
  • New Topic

MDB ack  RSS feed

 
gopinathang ganapathy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
Gopi
 
gopinathang ganapathy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!