camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-3263) Camel-exec - ease usage with Spring DSL
Date Thu, 21 Oct 2010 09:00:40 GMT


Claus Ibsen commented on CAMEL-3263:

This applies in fact for Java DSL as well. The problem is to provide multiple args as a header,
regardless if its Java DSL or Spring XML.
And you would like to have a single String with the args separated.

We should probably add an option to specify the separator and use comma as default.
- CamelExecCommandSeparator
Then you can set the header in case you use something else than comma

> Camel-exec - ease usage with Spring DSL
> ---------------------------------------
>                 Key: CAMEL-3263
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 2.4.0
>            Reporter: Olivier Roger
> It would be more user friendly if it a String could be also be given instead of a Java
List object.
> In that case a separator would be necessary but I guess a blank space could be the default
> Sample of usage :
> {code}            <!-- optional -->
>             <setHeader headerName="CamelExecCommandArgs">
>                 <constant>,</constant>
>             </setHeader>
>             <setHeader headerName="CamelExecCommandArgs">
>                 <simple>arg1,arg2,arg3</simple> <!-- of course simple
offers many more advance possibilities -->
>             </setHeader> 
> {code}
> For more details, please see [The mailling list discution on that topic|]

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message