Camel
  1. Camel
  2. CAMEL-4429

CXFProducer should tell CXF to ignore the part response handling when it uses MESSSAGE dataformat

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.2, 2.9.0
    • Component/s: camel-cxf
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      IN CXF-3788, CXF HTTPConduit will handle the partial response when the HTTP response code is 202 nor matter the operation is oneway or not. It will cause the camel-cxf producer wait for the response for server for ever.
      CXF-3796 introduces a new message header to help us to workaround this issue, we need to set this header in CxfProducer when the data format is MESSAGE.

        Issue Links

          Activity

          Hide
          Willem Jiang added a comment -

          Applied patch into trunk and Camel 2.8.x branch.

          Show
          Willem Jiang added a comment - Applied patch into trunk and Camel 2.8.x branch.
          Hide
          Akitoshi Yoshida added a comment -

          Hi Willem,
          I am attaching a patch for RawMessageContentRedirectionInterceptor so that an empty message can be tunneled without causing an NPE that leads to the problem I mentioned in my post to dev@camel.

          I tested this code (along with the CxfProducer with its property setting commented out) against 2.5.0-SNAPSHOT and 2.4.3-SNAPSHOT successfully.

          Could you take a look at it?
          Thanks.
          Regards, Aki

          Show
          Akitoshi Yoshida added a comment - Hi Willem, I am attaching a patch for RawMessageContentRedirectionInterceptor so that an empty message can be tunneled without causing an NPE that leads to the problem I mentioned in my post to dev@camel. I tested this code (along with the CxfProducer with its property setting commented out) against 2.5.0-SNAPSHOT and 2.4.3-SNAPSHOT successfully. Could you take a look at it? Thanks. Regards, Aki
          Hide
          Willem Jiang added a comment -

          Hi Aki,
          I just did a test with your patch, it works.
          I will commit it shortly, thanks for the patch

          Willem

          Show
          Willem Jiang added a comment - Hi Aki, I just did a test with your patch, it works. I will commit it shortly, thanks for the patch Willem

            People

            • Assignee:
              Willem Jiang
              Reporter:
              Willem Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development