Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5356

CXF endpoint doesn't play nice with doTry/doCatch

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.3
    • Fix Version/s: 2.20.0
    • Component/s: camel-cxf
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When using a CXF client endpoint to call a web service via SOAP/HTTP there are two possible error scenarios:

      1) The call fails immediately with an exception (e.g. because the service is down/the address is wrong)
      2) The call "succeeds" but returns a SOAP fault. This could also signal an error condition to the application.

      Currently, using doTry/doCatch doesn't work properly in either scenario because, apprently, the CXF endpoint nulls the message when receiving an exception or fault.

        Attachments

        1. camelTryCatch_now.zip
          21 kB
          Önder Sezgin
        2. camelTryCatch.zip
          18 kB
          Jens Granseuer

          Issue Links

            Activity

              People

              • Assignee:
                onders Önder Sezgin
                Reporter:
                jensgr Jens Granseuer
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: