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

camel-cxf - CxfProducer in POJO mode should be able to use POJO object directly without wrapped as List

    XMLWordPrintableJSON

Details

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

    Description

      See camel-example-cxf-async

      In the client code that sends to the server using CxfProducer. I have to wrap my POJO in a List object.
      CxfProducer should be smarter and be able to do this itself.

      It can do this by converting the payload to an iterator and use that to construct the list.
      Then it works for POJO objects directly.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: