[
https://issues.apache.org/jira/browse/CAMEL-15720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236047#comment-17236047
]
Claus Ibsen commented on CAMEL-15720:
-------------------------------------
This is a bit tougher to implement. Wonder if we should revisit this with the
compiled simple language effort, so we could do something similar to source
code generate and compile the bean parameter mapping, which then would be
optimized and fast.
> camel-core - Optimize calling bean with noarg method
> ----------------------------------------------------
>
> Key: CAMEL-15720
> URL: https://issues.apache.org/jira/browse/CAMEL-15720
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.7.0
>
>
> When using bean language, method call, ref etc and a method name is specified
> and its a noarg method (or args is hardcoded) then we can optimize to do less
> discovery on each invocation and reuse last discovery.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)