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