camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Stop polling, FTP Component
Date Mon, 26 Aug 2013 20:42:25 GMT
You have to stop the route by your self.
You can use the FTP (file) option "sendEmptyMessageWhenIdle" to know when
all files are processed. Than use a content based router to route this
exchange differently and use a processor/bean to stop the route [1].

[1] http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Mon, Aug 26, 2013 at 8:49 AM, kalber <Karlheinz.Alber@swslt.com> wrote:

> hi,
>
> i'm using FTP component with noop option.
>
> After downloaded all files the process stops but
> the program is still running.
>
> How can i exit from the pooling cycle ?
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Stop-polling-FTP-Component-tp5737925.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message