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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

            • Assignee:
              Unassigned
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: