I think this is actually what you are looking for, the camel-exec
component...
http://camel.apache.org/exec.html

There is even a Executing Java example in there for you.

Den 19 april 2012 15:59 skrev Gnanaguru S <[email protected]>:

>
> Thanks Chris,
>
> Yes I guessed this could be the component. But logically I don't have idea
> how I can stream from system.out.
>
> Let's assume a output string ' hello ' which am printing to the console
> using system.out. I have to send this string as a stream. How can I use the
> stream component here.
>
> Because I went through the syntax of stream component. I didn't got idea.
>
> Please help.
>
> Regards
> Guru
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-capture-a-java-out-tp5651505p5651824.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to