Hello,
 
If I understand your query, you want the route direct:ftp1 to trigger,
and then direct:ftp2, and then direct:ftp3, and so on ?
 
If I'm right, I suppose you could do like this :
<route>
<from timer>
<to direct:ftp1>
</route>
 
<route>
<from direct:ftp1>
<to ftp:......>
<to file: ......>
<to direct:ftp2>
</route>
 
<route>
<from direct:ftp2>
<to ftp:......>
<to file: ......>
<to direct:ftp3>
</route>
 
<route>
<from direct:ftp3>
<to ftp:......>
<to file: ......>
<to direct:ftp4>
</route>
 
<route>
<from direct:ftp4>
<to ftp:......>
<to file: ......>
</route>
............
 
Best regards,
 
Thierry

>>> 


De : Svend-Ole Nielsen <svend-ole.niel...@vehco.com>
À :"'users@camel.apache.org'" <users@camel.apache.org>
Date : 24/02/2015 09:35
Objet : Trigger FTP Routes in sync
Hi all

Is it possible to have some kind of route handling where you were to
trigger one FTP download route after another in sync??

.......
<route>
<from timer>
<to direct:ftp1>
<to direct:ftp2>
<to direct:ftp3>
<to direct:ftp4>
</route>

<route>
<from direct:ftp1>
<to ftp:......>
<to file: ......>
</route>

<route>
<from direct:ftp2>
<to ftp:......>
<to file: ......>
</route>

<route>
<from direct:ftp3>
<to ftp:......>
<to file: ......>
</route>

<route>
<from direct:ftp4>
<to ftp:......>
<to file: ......>
</route>
............

Hopefully someone has a trick up their sleeve :)

Regards,
Svend

Reply via email to