Can you post the link to where you found this "mistake". I cannot see a problem at http://camel.apache.org/ognl
On Fri, Sep 20, 2013 at 12:57 AM, Dale King <dalewk...@gmail.com> wrote: > In the documentation for the Camel OGNL component it shows the following > syntax: > > property(name) Object the property by the given name property(name, type) the > property by the given name as the given type > This syntax does not actually work in camel and I do not see any tests that > tried to test that it worked. > > If you change those to getProperty they work. properties[name] also works. > > In OGNL 4, which has not been released yet, property[name] should work. > -- > Dale King -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen