[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: rolled back messages delivered twice.
ataylor
do-not-reply at jboss.com
Fri Feb 27 04:38:10 EST 2009
basically:
tm.begin();
trans = tm.getTransaction();
trans.enlistResource(res)//res is xasession.getresource
onmessage()
tm.rollback();
all in the same thread
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213620#4213620
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213620
More information about the jboss-dev-forums
mailing list