No fields is not being added.

People can use any of the other languages that may support that such
as mvel, ognl, groovy et all

The log is using the simple language, so check its docs if you want to
call a method on a bean, how to do that.


On Tue, Aug 20, 2013 at 5:29 PM, jamie3 <[email protected]> wrote:
> The camel documentation for the simple component shows that it doesn't
> support fields except in 2.11 onwards for the .length in java arrays.
>
> Are fields expected to be added in the future?
>
> If not can you tell the simple component to provide a custom getter class
> for the object? For example (psuedo code):
>
> from("direct:somewhere")
> .log("Value is ${customRenderer:body}")
>
> where custom customRenderer points to a bean somewhere in the context that
> can fetch the field value?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Field-support-for-OGNL-simple-tp5737609.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to