You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/11/24 09:04:00 UTC
[jira] [Created] (CAMEL-20150) camel-jq - Optimize to load functions once and use child scopes per exchange
Claus Ibsen created CAMEL-20150:
-----------------------------------
Summary: camel-jq - Optimize to load functions once and use child scopes per exchange
Key: CAMEL-20150
URL: https://issues.apache.org/jira/browse/CAMEL-20150
Project: Camel
Issue Type: Improvement
Components: camel-jq
Reporter: Claus Ibsen
Fix For: 4.3.0
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).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)