Strange bean annotation failure in Camel 2.5.0 & HEAD
-----------------------------------------------------

                 Key: CAMEL-3388
                 URL: https://issues.apache.org/jira/browse/CAMEL-3388
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.5.0
            Reporter: Aaron Mulder
            Priority: Critical


When you invoke a bean with a method signature like this in Camel 2.5.0/HEAD, 
the in and out message both are null (the "Hello!" value just disappears):

    public String doTest(@Body Object body, @Headers Map headers, @OutHeaders 
Map outHeaders) {
        return "Hello!";
    }

The same thing without the headers works OK:

    public String doTest(@Body Object body) {
        return "Hello!";
    }

See 
camel-core/src/test/java/org/apache/camel/component/bean/BeanWithHeadersAndBodyInject3Test.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to