You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/09/06 13:13:40 UTC

[jira] Resolved: (CAMEL-3106) Add component for language so you send messages to endpoints which evaluates language scripts on the message

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

Claus Ibsen resolved CAMEL-3106.
--------------------------------

    Resolution: Fixed

Added documentation as well.

> Add component for language so you send messages to endpoints which evaluates language scripts on the message
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3106
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3106
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> This allows dynamic routing and having scripts being executed by sending to a dynamic created endpoint uri. For example using the routing slip or dynamic router EIP.
> For example to convert the message to a specific type you can send to the language endpoint
> {code}
> "language:simple:${bodyAs(String)"
> {code}
> There should maybe be an option to indicate whether or not the language script should affect the current message. For example to prepend with Hello you can do
> {code}
> "language:simple:Hello ${body}"
> {code}
> But it would be nice to be able to specify if we want to transform or not. Sometimes you may just want to execute a script without altering the message in any way.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.