camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: How do YOU handle scheduling?
Date Tue, 14 Sep 2010 13:20:00 GMT
You need to stop the consumer because the FTP consumer is schedule
based and will poll using a timer.

So you can stop the consumer template after usage, which should stop
the consumers.
You may also be able to set the cache size of the consumer template to
0 (i dont know if that makes it auto stop the consumer after use, but
I would assume it could do that)

On Tue, Sep 14, 2010 at 3:04 PM, Andreas A. <> wrote:
> The same thing happens in another method I use to enrich a message with a
> single specific file:
> String ftpsEndpoint =
> "ftps:{{ftp.address}}{{ftp.path.out}}?delete=true&amp;username={{ftp.username}}&password={{ftp.password}}&fileName=myFileName"
> Exchange str = consumer.receive(ftpsEndpoint);
> Works fine, except FTP keeps getting polled (nothing gets downloaded) it
> just does LIST forever.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message