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

camel-jq - Optimize to load functions once and use child scopes per exchange

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0
    • camel-jq
    • None
    • Unknown

    Description

      We should load the built-in functions once and prepare a root scope for re-use
      https://github.com/eiiches/jackson-jq/blob/develop/1.x/jackson-jq/src/test/java/examples/Usage.java

      And then each expression init by camel can share the root scope to avoid each of them loading built-in functions from classpath (overhead).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: