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.

Reply via email to