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: Future 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.