camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-3214) Property placeholder support for multiple inputs to a route
Date Tue, 04 Nov 2014 08:54:33 GMT

     [ 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)

Mime
View raw message