You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by shreyas <sh...@hotmail.com> on 2015/02/24 20:37:32 UTC

SFTP file process order

Hello,

Is anyone aware of default file process order in SFTP component? I am downloading files from SFTP server to local disk using readchange strategy. What happens if multiple files are put in the SFTP server. Are they processed in datetime order or some other order. I did look into file2 consumer but did not read anything about process order. 

Also, is SFTP download's concurrent? I know FTP is not, but what about SFTP.

Thanks in advance,
Shreyas Purohit 		 	   		  

RE: SFTP file process order

Posted by shreyas <sh...@hotmail.com>.
But that has null as default option. So, what is the default behavior? And what about SFTP concurrent file download if there are multiple files?


Thanks
Shreyas


----------------------------------------
> From: dewitte.pa@gmail.com
> Date: Wed, 25 Feb 2015 08:20:45 +0000
> Subject: Re: SFTP file process order
> To: users@camel.apache.org
>
> Hi,
>
> I think sorter and sortBy are the options you are looking for.
> http://camel.apache.org/file2.html
>
> Best regards
> Pierre-Alban
>
> Le Tue Feb 24 2015 at 20:38:23, shreyas <sh...@hotmail.com> a
> écrit :
>
>> Hello,
>>
>> Is anyone aware of default file process order in SFTP component? I am
>> downloading files from SFTP server to local disk using readchange strategy.
>> What happens if multiple files are put in the SFTP server. Are they
>> processed in datetime order or some other order. I did look into file2
>> consumer but did not read anything about process order.
>>
>> Also, is SFTP download's concurrent? I know FTP is not, but what about
>> SFTP.
>>
>> Thanks in advance,
>> Shreyas Purohit
 		 	   		  

Re: SFTP file process order

Posted by Dewitte P-Alban <de...@gmail.com>.
Hi,

I think sorter and sortBy are the options you are looking for.
http://camel.apache.org/file2.html

Best regards
Pierre-Alban

Le Tue Feb 24 2015 at 20:38:23, shreyas <sh...@hotmail.com> a
écrit :

> Hello,
>
> Is anyone aware of default file process order in SFTP component? I am
> downloading files from SFTP server to local disk using readchange strategy.
> What happens if multiple files are put in the SFTP server. Are they
> processed in datetime order or some other order. I did look into file2
> consumer but did not read anything about process order.
>
> Also, is SFTP download's concurrent? I know FTP is not, but what about
> SFTP.
>
> Thanks in advance,
> Shreyas Purohit