You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/11/04 09:54:33 UTC

[jira] [Resolved] (CAMEL-3214) Property placeholder support for multiple inputs to a route

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

Claus Ibsen resolved CAMEL-3214.
--------------------------------
    Resolution: Won't Fix
      Assignee: Claus Ibsen

We want Camel 3.0 to be only one input per route

> Property placeholder support for multiple inputs to a route 
> ------------------------------------------------------------
>
>                 Key: CAMEL-3214
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3214
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> If you have a route and you have externalized the incoming endpoint uri using property placeholder
> {code}
> from("{{inputA}}").to("xxx");
> {code}
> Then you may want to support that {{inputA}} can contain 1..n endpoints.
> {code}
> inputA=direct:start
> inputA=activemq:queue:foo,cxf:bean:foo
> {code}
> The placeholder can contain multiple entries separated by a token such as comma.
> All we essentially need is to use the ObjectHelper.createIterator on the value and then add inputs to the route.
> It should trim the values so you can have space between the comma, so its easier to read.



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