git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to accomplish <simple trim="false"> with java?


Hi,

.setBody(simple("a "))
.log("body length is ${body.length}")

gives me this:

body length is 1

and I want 2 here, instead of 1, due to a trailing blank, context sensitive
help within java editor doesn't give me a clue how to suppress trim.
I'm using Apache Camel 2.20.1 , thanks in advance.

Best regards