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

BeanProcessor - Should differentiate between void and method returning null values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.1.0
    • 2.2.0
    • camel-core
    • None

    Description

      When invoking a bean method it should better detect whether the bean is a void or has a return type.
      And if it returns null it should be regarded as a valid response and set as body.

      See nabble
      http://old.nabble.com/filtering-messages-ts27403559.html

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: