camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-6098) Add script to the DSL to invoke a expression language and allow noop changes on the Exchange
Date Sat, 11 Jul 2015 08:03:04 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen reassigned CAMEL-6098:
----------------------------------

    Assignee: Claus Ibsen

> Add script to the DSL to invoke a expression language and allow noop changes on the Exchange
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6098
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6098
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core, eip
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: Future
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Changing-POJO-attribute-from-the-body-using-the-Simple-Expression-Language-tp5727971.html
> We should have a script in the DSL
> {code:xml}
> <route>
>   ...
>   <script>
>     <groovy>some groovy stuff here</groovy>
>   </script>
>   ...
> </script>
> {code}
> The script is then invoked and allows noop to avoid changing the message body.
> Currently you can only do
> {code:xml}
> <transform>
>   <groovy> ... </groovy>
> </transform>
> {code}
> ... and that may change the message body with the return value from groovy.
> With <script> you can avoid this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message