[ 
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/2/24 10:22 AM:
--------------------------------------------------------------

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

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

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


was (Author: davsclaus):
Ensure that these languages are created the same way via reifier and properties

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

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

> 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