Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13865

camel3 - Bean and Simple language - Optimize to use fast invocations when possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • camel-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            davsclaus Claus Ibsen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: