This content has been marked as final.
Show 2 replies
-
1. Re: Using OGNL in camel
njiang Aug 9, 2012 9:59 PM (in response to lekkie_lomotayo)If you want to get the full control of the message body accessibility, you may consider to pass the message as the parameter like this
public void getRemoteHostRoute(Message message) { Object instance = message.getBody(); // do what you want here }
Willem
-
2. Re: Using OGNL in camel
davsclaus Aug 13, 2012 1:28 AM (in response to lekkie_lomotayo)Some languages support the type safe null operator, eg the .? in groovy for example. We support that in the simple language as well. The OGNL may support it also, but you would need to check its documentation.