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):

<to uri="exec:/scripts/myprog.py"/>
<log message="Output: ${body}"/>

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 from the Camel - Users mailing list archive at Nabble.com.

Reply via email to