camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Set body to length of header string in Spring DSL?
Date Tue, 27 Nov 2012 15:34:21 GMT
On Tue, Nov 27, 2012 at 4:22 PM, dunnlow <dunnlow@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: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message