Re: Return Value from Python Script Not In Message Body

2014-07-05 Thread Tim Dudgeon
I created a JIRA issue for this: https://issues.apache.org/jira/browse/CAMEL-7582 Tim -- View this message in context: http://camel.465427.n5.nabble.com/Return-Value-from-Python-Script-Not-In-Message-Body-tp5724056p5753387.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Return Value from Python Script Not In Message Body

2014-06-30 Thread Matt Sicker
> (or the ssh component if the script is on a remote machine): > > > > > Regards, > Scott > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Return-Value-from-Python-Script-Not-In-Message-Body-tp5724056p5753052.html > Sent fr

Re: Return Value from Python Script Not In Message Body

2014-06-30 Thread scottdawson
As an alternative to the language component, you can use the exec component (or the ssh component if the script is on a remote machine): Regards, Scott -- View this message in context: http://camel.465427.n5.nabble.com/Return-Value-from-Python-Script-Not-In-Message-Body-tp5724056p5753052

Re: Return Value from Python Script Not In Message Body

2014-06-29 Thread Willem Jiang
gt; I did find a workaround - set the return value to the request.body property > > in the Python script, and use the transform=false attribute for the > > language > > component URL. But was wondering what the way to get a multi-line script > > working correctly was. > >

Re: Return Value from Python Script Not In Message Body

2014-06-29 Thread Matt Sicker
round - set the return value to the request.body property > in the Python script, and use the transform=false attribute for the > language > component URL. But was wondering what the way to get a multi-line script > working correctly was. > > Tim > > > > -- > View

Re: Return Value from Python Script Not In Message Body

2014-06-29 Thread Tim Dudgeon
/camel.465427.n5.nabble.com/Return-Value-from-Python-Script-Not-In-Message-Body-tp5724056p5753009.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Return Value from Python Script Not In Message Body

2012-12-14 Thread neilac333
w this message in context: http://camel.465427.n5.nabble.com/Return-Value-from-Python-Script-Not-In-Message-Body-tp5724056p5724114.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Return Value from Python Script Not In Message Body

2012-12-14 Thread Taariq Levack
. > > > > -- > 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.

Re: Return Value from Python Script Not In Message Body

2012-12-14 Thread Willem jiang
t; 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-tp

Re: Return Value from Python Script Not In Message Body

2012-12-13 Thread Willem jiang
ot; to be passed along to dataProvider. > > Instead, I am getting a NPE because the return value from the Python script > is in fact not being passed as a message. > > Any insight into how to accomplish this is appreciated. > > Thanks. > > > > -- > View