camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-3388) Strange bean annotation failure in Camel 2.5.0 & HEAD
Date Sat, 04 Dec 2010 22:33:10 GMT
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.


Mime
View raw message