Try this: from(...).transform().simple("${in.body.trim()}")...
On Wed, Aug 1, 2012 at 8:47 AM, cgsk <karthik2...@gmail.com> wrote: > Hi There, > > I need to do trim() on the body of type String in the DSL. Is there any > staright way out in camel by using transform/convertor/regex? I dont prefer > writing something some processor or custom convertor. Apologies if it > sounds > stupid. > > Thanks, > CGSK > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/DSL-trim-on-body-of-type-string-tp5716660.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Cheers, Jon --------------- FuseSource Email: j...@fusesource.com Web: fusesource.com Twitter: jon_anstey Blog: http://janstey.blogspot.com Author of Camel in Action: http://manning.com/ibsen