You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/06/10 15:58:59 UTC
[jira] [Updated] (CAMEL-3961) improving methods calls in bean
component
[ 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: Future
> 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
> Fix For: Future
>
>
> 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