[
https://issues.apache.org/jira/browse/CAMEL-20378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17814388#comment-17814388
]
Claus Ibsen edited comment on CAMEL-20378 at 2/8/24 1:32 PM:
-------------------------------------------------------------
Last thing to consider is
TODO: variable, header, property to be 1 option instead of 3 options *DONE*
The naming of those options is not so intuitive as they are used as input
source, and you cannot understand this in the beginning.
So if we have 1 option named: source where you can type
source = header:foo
source = variable:bar
source = body (is default)
then its only 1 option and have more flexibility.
was (Author: davsclaus):
Last thing to consider is
TODO: variable, header, property to be 1 option instead of 3 options
The naming of those options is not so intuitive as they are used as input
source, and you cannot understand this in the beginning.
So if we have 1 option named: source where you can type
source = header:foo
source = variable:bar
source = body (is default)
then its only 1 option and have more flexibility.
> 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)