Claus Ibsen created CAMEL-13865:

             Summary: camel3 - Bean and Simple language - Optimize to use fast 
invocations when possible
                 Key: CAMEL-13865
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: Future

In some use-cases we can possible optimize the bean component to use direct 
method invocations instead of invoking a method via reflection. 

The java dsl has been approved so you can invoke beans with a Supplier etc, so 
you can do those MyClass::myMethod style. But this only works for some 
use-cases as parameter binding would not to be "compatible". 

We can give some thoughts if we can improve this and use some tools that parses 
the route / model and classes on project source code / classpath, figures out 
if we can optimize and generate needed java source code / byte code instead.

This message was sent by Atlassian JIRA

Reply via email to