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

Allow bean component to return null which will be accepted as a new Message with an empty body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.5.0
    • 2.9.0
    • camel-core
    • None

    Description

      See nabble
      http://camel.465427.n5.nabble.com/Error-in-MessageSupport-when-using-JMSMessage-tp3268379p3268379.html

      Although it was designed that a null response from a bean method call is regarded as do not mutate/change the message, we should look into allowing that.
      The other may take people by surprise. However its a corner case wanting to change the message to an empty/null body.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: