Hi Philroc!

if camel does not support it out of the box I would try to write my own camel processor (internally using java's ProcessBuilder to call a native application).


Jens


Am 24.11.13 16:06, schrieb Philippe de Rochambeau:
Hello,

I would like to pass arguments to a C application running on Linux from a Camel 
program, wait a second after the application has finished printing to Standard 
Output, then check its exit value (eg, 0, 1, etc.)

For instance, .to(« c-application » , « param0 », « param1 », 
).waitOneSecond().processExitValue()

How can I do that in Camel DSL?

Many thanks.

Philroc




Reply via email to