[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - XA Heuristic Example --- We are not ready for it?
gaohoward
do-not-reply at jboss.com
Tue Apr 14 07:51:45 EDT 2009
It seems not so meaningful for this example, look at the code:
1. our XAResource methods (ClientSessionImpl) commit() and rollback() don't throw any Heuristic exceptions.
2. out XAResource method forget() also does nothing. See ServerSessionImpl.doHandleXAForget()
| private void doHandleXAForget(final SessionXAForgetMessage packet)
| {
| // Do nothing since we don't support heuristic commits / rollback from the
| // resource manager
|
| Packet response = new SessionXAResponseMessage(false, XAResource.XA_OK, null);
|
| channel.confirm(packet);
|
| channel.send(response);
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225338#4225338
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225338
More information about the jboss-dev-forums
mailing list