[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: rolled back messages delivered twice.
ataylor
do-not-reply at jboss.com
Mon Mar 2 07:06:14 EST 2009
Ive re factored the RA to use core, JBMMessageHandler now implements MessageHandler. However I'm still getting the same problem. Ive added a (commented out) test to BasicXaTest that basically does the same thing and it always fails. This is what the test does.
| session.start(xid, XAResource.TMNOFLAGS);
| first message received
| session.end(xid, XAResource.TMSUCCESS);
| session.rollback(xid);
| session.start(xid, XAResource.TMNOFLAGS);
| second message received
| session.end(xid, XAResource.TMSUCCESS);
| session.rollback(xid);
| session.start(xid, XAResource.TMNOFLAGS);
| and so on
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214139#4214139
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214139
More information about the jboss-dev-forums
mailing list