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

Bean should act like transform/setBody when setting result

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.18.0
    • 2.18.1, 2.19.0
    • camel-core
    • None
    • Unknown

    Description

      See SO
      http://stackoverflow.com/questions/40293128/camel-rest-service-throws-exception-when-returning-null/40317432#40317432

      When you use http components that set the message as HttpMessage and then call bean that returns null then we should do like transform/setBody does to set the message as a default message.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: