[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Bug in transactional delivery in an MDB
timfox
do-not-reply at jboss.com
Wed Apr 25 07:22:18 EDT 2007
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#4040534
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040534
More information about the jboss-dev-forums
mailing list