Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-150

Wrong exception handling in RemotingConnectionEJBReceiver#sendPrepare and friends

    Details

    • Estimated Difficulty:
      Low

      Description

      In org.jboss.ejb.client.remoting.RemotingConnectionEJBReceiver#sendPrepare and friends, if an exception occurs during the send of the message, we should be throwing an XAException using the error code RMFAIL, which will ensure that the coordinator will retry the operation in an appropriate manner.

      Right now it is propagating a RuntimeException for most problems.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dmlloyd David Lloyd
                  Reporter:
                  dmlloyd David Lloyd
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: