[ https://issues.apache.org/jira/browse/CAMEL-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-3961: ------------------------------- Fix Version/s: (was: Future) 2.9.0 This is now possible as shown above. > improving methods calls in bean component > ----------------------------------------- > > Key: CAMEL-3961 > URL: https://issues.apache.org/jira/browse/CAMEL-3961 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Romain Manni-Bucau > Assignee: Claus Ibsen > Fix For: 2.9.0 > > > To invoke a bean taking multiple parameters we need to create an array. It is > not really fluent and it could be improved. > Claus suggested to modify the bean uri to provide parameters in a camel > language. > Example: > from(...) > .bean(XXX.class, "myMethod(${header.myHeader}, ${body}") > .to(...). > This cool be a really cool and useful feature. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira