[ 
https://issues.apache.org/jira/browse/CAMEL-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986432#action_12986432
 ] 

Olivier Roger commented on CAMEL-3263:
--------------------------------------

Claus,

Shouldn't the document be updated with this change ?
As far as I can see, only the *java.util.List<String>* is document for now.

http://camel.apache.org/exec.html

> Camel-exec - ease usage with Spring DSL
> ---------------------------------------
>
>                 Key: CAMEL-3263
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3263
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.4.0
>            Reporter: Olivier Roger
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>
> 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 value. 
> Sample of usage :
> {code}            <!-- optional -->
>             <setHeader headerName="CamelExecCommandSeparator">
>                 <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|http://camel.465427.n5.nabble.com/Camel-exec-dynamic-parameters-in-Spring-DSL-td3230040.html#a3230040]

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

Reply via email to