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

Thanks,

Nicolas.

Reply via email to