Hello,
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
Regards
Pavel Kadlec