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


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

Reply via email to