I just tried set the Python Script as one line like "hello".
I can get the result as you want.


--  
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 Friday, December 14, 2012 at 2:47 PM, neilac333 wrote:

> I thought about that so I tried the following:
>  
> def foo():
> return "hello"
>  
> foo()
>  
>  
> But I still get the same NPE. How do I get the result of the script to be
> passed along?
>  
> Thanks.
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Return-Value-from-Python-Script-Not-In-Message-Body-tp5724056p5724064.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to