I suspect your fix will cause the following use case to fail:
Send message to another queue from inside the onMessage method of an MDB.
Immediately after sending throw a RuntimeException.
Make sure onMessage executes transactionally.
This should cause the tx to rollback and the message shouldn't be sent.
What you'll probably find with your latest change is that the message gets sent even
though the tx rolls back.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040534#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...