Camel just replace the “+” with “ “ by default.
You can use the RAW() to wrap the args parameter just like this.
exec:test?args=RAW(arg1+arg2 arg3)

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On March 17, 2015 at 11:06:05 PM, Davis, Daniel (davi...@si.edu) wrote:
> I have been unable to find an encoding or approach to include the
> ImageMagick argument "+profile" in the argument list for "exec" in
> Spring XML DSL as show below. With each experiment Trace clearly shows
> that the "+" sign in the arguments being stripped out. I tried
> plaintext, HTML and decimal encoding plus some dynamic character
> substitutions. I assume the tokenizer and/or the encoder for the
> arguments is eating the "+". Other than the problem argument this
> "exec" is working fine.
>  
> Does anyone know a good approach, a workaround or an error I made in
> Spring DSL before I move to the Java DSL for this one?
>  
>  
>  
>  
>  
> exec:convert?args=${header.CamelFileNameProduced} -thumbnail
> 200x150 -colorspace RGB +profile * ${header.CamelFileNameProduced}.jpg
>  
>  
>  
>  
> --
> Daniel Davis
>  
>  

Reply via email to