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

camel-jackson - Add option to allow jackson to support null body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.16.0
    • camel-jackson
    • None
    • Unknown

    Description

      Its common to unmarshal data to json via jackson, and the dataformat we have will then fail if the message body is empty.

      We should add an option that can be turned on to allow null body

      allowNullBody

      And then it should just skip the unmarshal.
      We could also consider it as general on dataformat so it's possible for all of them.

      Attachments

        Issue Links

          Activity

            People

              essobedo Nicolas Filotto
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: