Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55F4C185C3 for ; Mon, 20 Jul 2015 08:41:05 +0000 (UTC) Received: (qmail 50059 invoked by uid 500); 20 Jul 2015 08:41:05 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 50016 invoked by uid 500); 20 Jul 2015 08:41:05 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 49848 invoked by uid 99); 20 Jul 2015 08:41:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2015 08:41:05 +0000 Date: Mon, 20 Jul 2015 08:41:05 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CAMEL-8966) Add a dynamic to that is simpler to use than recipient list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-8966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen reassigned CAMEL-8966: ---------------------------------- Assignee: Claus Ibsen > Add a dynamic to that is simpler to use than recipient list > ----------------------------------------------------------- > > Key: CAMEL-8966 > URL: https://issues.apache.org/jira/browse/CAMEL-8966 > Project: Camel > Issue Type: Improvement > Components: camel-core, eip > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: Future > > > To do dynamic to then see this FAQ > http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html > I think we should consider a dynamic to variation, or make to dynamic out of the box? > For example to send a message to a dynamic computed uri with a header that has a stock symbol name: > {code} > > {code} > Notice the toD for to dynamic. > It should be as simple so its a one-liner like today. If you want a bit more elaborate then use recipient list. Also the language it uses is simple only. > We could also ponder about making that defailt for to use simple language. However a few components like file uses simple language in its parameters. So we would need to tell simple to be lenient and keep tokens it cannot parse at this time, so you can do: > {code} > > {code} > So parsing > {code} > ${file:name} > {code} > don't barf -- This message was sent by Atlassian JIRA (v6.3.4#6332)