camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burkard Stephan <Stephan.Burk...@visana.ch>
Subject AW: Camel FTP polling is very slow
Date Wed, 16 Aug 2017 09:36:57 GMT
Hi 

I think "readLockCheckInterval=1000" means that the process waits 1 second for EVERY FILE
to check the read-lock. So you would get a throughput of less than 1 file per second. Do you
mean that with slow?

Regards
Stephan


-----Urspr√ľngliche Nachricht-----
Von: chandresh pancholi [mailto:chandreshpancholi007@gmail.com] 
Gesendet: Mittwoch, 16. August 2017 11:17
An: users@camel.apache.org
Betreff: Camel FTP polling is very slow

Hi,

I am polling files from FTP with below attributes.

ftpBuilder.append("://")
        .append(username + "@"+ url)
        .append(remotePath)
        .append("?password=")
        .append(password)
        .append("&delay=")
        .append(appConfig.getFtpDelay())
        .append("&passiveMode=")
        .append("true")
        .append("&move=")
        .append("done-")
         .append(getIp())
        .append("&disconnectOnBatchComplete=")
        .append("true")
        .append("&idempotent=")
        .append("true")
        .append("&maxMessagesPerPoll=5")
        .append("&readLock=idempotent-changed")
        .append("&readLockCheckInterval=1000") ;

Polling from FTP become really slow. Please check if I am doing something wrong.
--
Chandresh Pancholi
Senior Software Engineer
Flipkart.com
Email-id:chandresh.pancholi@flipkart.com
Contact:08951803660
Mime
View raw message