[jboss-dev-forums] [JBoss Transactions Development] - Re: Remote Tx Inflow: Proxying a transaction as an XAResource issue
David Lloyd
do-not-reply at jboss.com
Tue Oct 4 11:32:25 EDT 2011
David Lloyd [http://community.jboss.org/people/dmlloyd] created the discussion
"Re: Remote Tx Inflow: Proxying a transaction as an XAResource issue"
To view the discussion, visit: http://community.jboss.org/message/630090#630090
--------------------------------------------------------------
I agree that the question of exception mapping is very relevant. I just want to point out that we are not planning on exposing a remote interface sort of view for TransactionManager. It's actually happening over the wire. So implementation-wise we'll probably ship over a one-byte code or something which corresponds to the exception thrown. Then on the client side we'd map the code to the XAResource exception. Since the XAResource side is the lossy side we'd ship over the maximally detailed error code from the server and then pare it down on the client, to future-proof against future, better client APIs.
In other words, the try/catch blocks you illustrate won't actually literally exist anywhere.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630090#630090]
Start a new discussion in JBoss Transactions Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111004/50f221c7/attachment.html
More information about the jboss-dev-forums
mailing list