On Tue, Nov 27, 2012 at 4:22 PM, dunnlow <dunn...@yahoo.com> wrote: > Thank you both, huge help. > > Claus, question for you in the, "teach a man to fish.." category. What is > the best way to see all of the methods that simple provides? For example, I > had no idea about the Length() method - is that method inherited? Thank you > again, -J >
Ah that's the OGNL support for file language. It's basically introspecting the body type, and invoked the method you provided in the syntax. So in this case, because its a java.lang.String it invokes the "length" method on the String type. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Set-body-to-length-of-header-string-in-Spring-DSL-tp5723258p5723308.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen