On Thu, Mar 18, 2010 at 10:17 AM, Nicolas Bouillon <nico...@bouil.org> wrote: > Hello, > > I'm searching the following feature : > > <route> > <from uri="direct:in" /> > <to uri="exec:/usr/bin/wc?params=-l" /> > </route> > > The purpose is to send the message as the standard input of the program > "/usr/bin/wc -l" and to get the standard output of the program as the > response message. > > Does that exists ? If not I believe it is quite easy to implement myself, > but I don't want to reinvent the wheel ;-) >
Hi There is an exec component in the works https://issues.apache.org/activemq/browse/CAMEL-2549 Maybe you can try the current code and see if it meets your requirement, or post a comment on the JIRA what you need. > Thanks, > > Nicolas. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus