[ 
https://issues.apache.org/jira/browse/CAMEL-3655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056371#comment-13056371
 ] 

Claus Ibsen commented on CAMEL-3655:
------------------------------------

Ah I spotted likely an easy solution which is to resume/suspend the consumer 
upon demand. Then the ftp consumer should not keep polling as its suspended, if 
not in demand.

I will test that and see if we can use that as a workaround for Camel 2.8. And 
then talk about a solution for Camel 2.9 where we develop a dedicated polling 
consumer for file/ftp that isn't scheduled based.

> Add FtpPollingConsumer to better support polling consumer EIPs
> --------------------------------------------------------------
>
>                 Key: CAMEL-3655
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3655
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>    Affects Versions: 2.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Event-driven-FTP-consumer-tp3376242p3376242.html
> The PollingConsumer should only poll once and thus it should not be schedule 
> based, and it should disconnect after polling.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to