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

Claus Ibsen edited comment on CAMEL-20378 at 2/3/24 10:43 AM:
--------------------------------------------------------------

TODO: languages that has source should use createExpression(source,...) *DONE*
TODO: should throw exception if source is variable / property / header and its 
not present (such as jq language)
TODO: resultType should not be configurable on language (not thread safe)


was (Author: davsclaus):
TODO: languages that has source should use createExpression(source,...)
TODO: should throw exception if source is variable / property / header and its 
not present (such as jq language)
TODO: resultType should not be configurable on language (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