Claus Ibsen wrote: > On Thu, Dec 10, 2009 at 11:12 AM, SwenVogel <swen.vo...@ypsystems.de> wrote: >> Yes that's right, >> >> i just thought perhaps there is already some kind of "camel - way" to do >> this. >> So, i will write a consumer component that is capable of creating an local >> input file from an message and than calling the application with optional >> parameters. >> > > Yeah we dont have a component for calling external applications. But > we love contributions but as calling an external application often is > very different per use case its might not that easy to create > something that can be used by many others. > > I even think ANT have a great API for calling external applications.
For calling external applications from Java one might want to have a look at Jakarta Commons Exec: http://commons.apache.org/exec/ FAQ says: "The code was ported from Ant and extensively tested on various platforms."