[ 
https://issues.apache.org/jira/browse/CAMEL-20378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17813263#comment-17813263
 ] 

Claus Ibsen edited comment on CAMEL-20378 at 2/1/24 3:35 PM:
-------------------------------------------------------------

Ensure that these languages are created the same way via reifier and properties

datasonnet
hl7
java / joor
jq
jsonpath
method
tokenize
wasm
xpath
xquery
xtokenize

Avoid to have setter/getter on the language instances as that is not thread-safe


was (Author: davsclaus):
datasonnet
hl7
java / joor
jq
jsonpath
method
tokenize
wasm
xpath
xquery
xtokenize

> 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)

Reply via email to