[
https://issues.apache.org/jira/browse/CAMEL-20378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812783#comment-17812783
]
Claus Ibsen commented on CAMEL-20378:
-------------------------------------
We need to make the reifer grab the input source first, and send it to the
language in a standard way (via a header, exchange property or thread-local) so
the language can be thread-safe and reusable. A bit like send dynamic EIPs do.
> Languages that can take source from header or property is not thread safe
> -------------------------------------------------------------------------
>
> Key: CAMEL-20378
> URL: https://issues.apache.org/jira/browse/CAMEL-20378
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.4.0
>
>
> The SingleInputTypedLanguageSupport is causing the shared language instance
> that uses the body as input to be changed to header etc.
> This affects jq, jsonpath, xpath and a few other languages that are
> SingleInputTypedLanguageSupport based.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)