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