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

DefaultCxfRsBinding only uses Exchange.getOut()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.12.2
    • 2.11.3, 2.12.3, 2.13.0
    • camel-cxf
    • None
    • Unknown

    Description

      When org.apache.camel.component.cxf.jaxrs.DefaultCxfRsBinding is populating the response from an org.apache.camel.Exchange then only the exchange.getOut().getBody() is used.

      In the SOAP case org.apache.camel.component.cxf.DefaultCxfBinding the response is either uses exchange.getOut().getBody() or exchange.getIn().getBody()

      See also Discussion for more details.

      Attachments

        1. DefaultCxfRsBinding.patch
          1 kB
          Dominik Kunz

        Issue Links

          Activity

            People

              njiang Willem Jiang
              DominikAmon Dominik Kunz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: