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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...