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

BeanProcessor - Should differentiate between void and method returning null values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: camel-core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: