Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 85902 invoked from network); 6 Sep 2010 07:32:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Sep 2010 07:32:05 -0000 Received: (qmail 11756 invoked by uid 500); 6 Sep 2010 07:32:05 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 11628 invoked by uid 500); 6 Sep 2010 07:32:02 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 11620 invoked by uid 500); 6 Sep 2010 07:32:01 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 11617 invoked by uid 99); 6 Sep 2010 07:32:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 07:32:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 07:32:00 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o867VeJa029174 for ; Mon, 6 Sep 2010 07:31:40 GMT Message-ID: <27117954.10701283758300391.JavaMail.jira@thor> Date: Mon, 6 Sep 2010 03:31:40 -0400 (EDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-3106) Add component for language so you send messages to endpoints which evaluates language scripts on the message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c 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.