[ https://issues.apache.org/jira/browse/CAMEL-3388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-3388: ------------------------------- Priority: Major (was: Critical) Fix Version/s: 2.6.0 Assignee: Claus Ibsen Summary: @OutHeaders in bean binding issue with InOnly MEP (was: Strange bean annotation failure in Camel 2.5.0 & HEAD) > @OutHeaders in bean binding issue with InOnly MEP > ------------------------------------------------- > > 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 > Assignee: Claus Ibsen > Fix For: 2.6.0 > > > 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): > {code:java} > public String doTest(@Body Object body, @Headers Map headers, @OutHeaders > Map outHeaders) { > return "Hello!"; > } > {code} > The same thing without the headers works OK: > {code:java} > public String doTest(@Body Object body) { > return "Hello!"; > } > {code} > 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.