There is an exec component http://camel.apache.org/exec
On Sun, Nov 24, 2013 at 4:06 PM, Philippe de Rochambeau <phi...@free.fr> wrote: > 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 > > > -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen