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

Wrong exception handling in RemotingConnectionEJBReceiver#sendPrepare and friends

    XMLWordPrintable

Details

    • 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.

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: