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

Claus Ibsen edited comment on CAMEL-22899 at 1/29/26 3:15 PM:
--------------------------------------------------------------

We may consider adding
 * result as dynmamic parameter via $param or $value or $it or $_ or something 
instead of message body *DONE*
 * init block to allow declaring a function that is chained: myfunc ~:= $trim 
~> $uppercase ~> $replace(A,B) 

So you can use myfunc and allow myfunc(exp) so you can do myfunc('Hello World') 
laterr


was (Author: davsclaus):
We may consider adding
 * result as dynmamic parameter via $param or $value or $it or $_ or something 
instead of message body
 * init block to allow declaring a function that is chained: myfunc ~:= $trim 
~> $uppercase ~> $replace(A,B) 

So you can use myfunc and allow myfunc(exp) so you can do myfunc('Hello World') 
laterr

> camel-core - Add chain operator to the simple language
> ------------------------------------------------------
>
>                 Key: CAMEL-22899
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22899
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.18.0
>
>
> [https://docs.jsonata.org/other-operators#-chain]
> [#camel > Simple Language with init block @ 
> 💬|https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/Simple.20Language.20with.20init.20block/near/569676122]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to