Python Script Producing a File

2012-12-11 Thread neilac333
I would like to trigger a Python script that generates a file as output. I would then like this file to be processed along the rest of the route. I have been unable to find documentation on how to create a Python script endpoint at the beginning of the route and then the file endpoint waiting for

Re: Return Value from Python Script Not In Message Body

2012-12-14 Thread neilac333
I am not certain if this posted so I am reposting. Apologize if this is a duplicate. - Just to experiment, I did a couple of things. First, I changed my script from just "Hello" to this: "Hello" + " world" That works. Then I tried this: sum = 5 + 3 "Hello" + " world" That doe

Camel Compatibility With Restlet

2012-12-17 Thread neilac333
I am attempting to integrate Camel and Restlet, and I have followed the instructions carefully. However, when I deploy I get this java.lang.NoSuchMethodError: org.restlet.Server.(Lorg/restlet/Context;Lorg/restlet/data/Protocol;I)V at org.apache.camel.component.restlet.RestletComponent.crea

Re: Output File Name After Exec

2013-01-10 Thread neilac333
Thanks for your responses. To answer the first question, here is the route I have so far: from("servlet:///my-endpoint") .to("exec:${shellScriptPath}?outFile=${outFilePath}") .convertBodyTo(String.class) .bean(new DataProvider()) .marshal(jsonDataF