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

CxfBinding will never run into the code in case the messasge body is List.class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • camel-cxf
    • None

    Description

      since CAMEL-709 add getBody method to CxfMessage, so the code in CxfBinding.createCxfMessage()
      Object body = in.getBody(InputStream.class); will never always return InputStream object, which means the code will never run into the case that the message body is List.class, but it will break the logic when the MESSAGEFORMAT is POJO for camel-cxf, so we need try to getBody(List.class) firstly to fix it

      Attachments

        1. CAMEL-719.patch
          0.7 kB
          Freeman Yue Fang

        Activity

          People

            njiang Willem Jiang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: