That seemed to solve my problem about committing automatically.
But I still have a problem with the scenario. In a MDB onMessage method I
change/create some entity beans and send a message. Both changes are committed
successfully on exit of the onMessage method. The message sent then reaches
I have now read this wiki entry
http://wiki.jboss.org/wiki/Wiki.jsp?page=MyJMSReceiverCannotSeeADBUpdateMadeInTheSameTransactionAsASend
and understand that 2 phase commits does not guarantee that when the
transaction is done, all datasources has completed their commit operations. The
wiki
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJMSRA
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918271#3918271
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918271