You may just want to use a bean for that.
http://camel.apache.org/bean-integration.html
Hadrian
On Dec 10, 2009, at 5:12 AM, SwenVogel 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.
Thanks.
Claus Ibsen-2 wrote:
On Thu, Dec 10, 2009 at 8:07 AM, SwenVogel <[email protected]>
wrote:
Hi,
is there possibility to call an local application when an new
message
arrives?
The use case is very simple i pool for files with the ftp
component or
receive files with the jetty component and when new files are
present
i want's to route the message to some processing routes store the
message to an local file and finally call an local application
with the filename as an parameter.
There should be stuff in the JDK to call an external application.
Just do a little google and you will found out how.
Thanks...
--
View this message in context:
http://old.nabble.com/Call-local-application-
tp26722926p26722926.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
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
--
View this message in context:
http://old.nabble.com/Call-local-application-tp26722926p26724824.html
Sent from the Camel - Users mailing list archive at Nabble.com.