You could also take a look at
http://camel.apache.org/oncompletion.html

On Tue, Sep 24, 2013 at 6:48 PM, Bratislav Stojanovic
<bratislav1...@gmail.com> wrote:
> Hi all,
>
> I'm fetching some data every 30 secs from my FTP server into my local
> folder using
> a simple rule and that works fine. I would like now to start a method from
> one of my
> classes when (and only if) transfer completes successfully.
>
> What is the best way to achieve that? By using .process or? What happens if
> transfer
> fails after a couple of files (for instance internet drops down)?
>
> Thank you.
>
> --
> Bratislav Stojanovic, M.Sc.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to