Re: Need leading/trailing spaces support in camel:simple

2014-12-10 Thread Aki Yoshida
you can set the trim attribute in the expression. trim=false and it think you should be using \r and \n instead of relying on the implicit LF or the xml-char ref to be on the safer side in preserving those chararacters. 2014-12-09 11:08 GMT+01:00 Goyal, Arpit arpit.go...@sap.com: Hi

Need leading/trailing spaces support in camel:simple

2014-12-09 Thread Goyal, Arpit
Hi Colleagues, We have the following XML DSL (part of the whole xml), where we set the body using camel:simple tag. Somehow in the processing, we see that the spaces are trimmed at the end. camel:setBody camel:simpleNameIDPlace#13; A 1 X#13; B 2 D#13; B 3 Bangalore#13; E 4 A