No, I'm afraid you need to provide the exchange for the expression.  


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Monday, December 24, 2012 at 12:45 PM, orz wrote:

> Hi,
>  
> Basically I just want to retrieve the property value during runtime.
>  
> E.g.  
> int number = SimpleBuilder.simple("${properties:number}").evaluate(exchange,
> Integer.class);
>  
> Is there a way for me to do so without the presence of exchange?
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Possible-to-evaulate-a-expression-without-exchange-tp5724570.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to