0 Replies Latest reply on Nov 20, 2007 6:27 AM by kadlecp

    Transactions on message driven beans



      I have two message driven beans. I send two messages to both mdb. Each mdb has its onMessage method in a transaction. Can I guarantee that either both onMessage method succeed or both onMessage methods fail?

      I think that I should use 2-phase commit protocol somehow, but I don't know how to configure it in my case.....

      Do you have some suggestions how to do it?

      Thank you for reply
      Pavel Kadlec