On 6/14/06, vabrol <[EMAIL PROTECTED]> wrote:


Hi All,
I am trying to do this,please advise
1) connect to SFTP
2) Download the files locally and move to a different folder on same FTP


You could start with http://servicemix.goopen.org/site/ftp.html, but
moving files is not supported, so you will have to enhance the existing one.

If you want to store them locally, you should put a FileWriter component
as the target of the FTPPoller.

3) As I download the files to local folder,I need to feed them to my service
in sequence . e.g 1 files can have patient information,2nd file wil have
patient labs. So patients need to go to system first before I can do
patient
labs.


We do not have any resequencer pattern yet (see
http://servicemix.goopen.org/site/servicemix-eip.html).
Take a look at http://www.enterpriseintegrationpatterns.com/Resequencer.html.

I guess that you could write one with a limited time window: when it receive
a
patient lab, it would wait for a predefined timeout before sending it; if a
patient info
is received during this time, it would send the patient info first.
Or maybe i misunderstood, and all files come by two, and you just need to
resequence the two files.


4) Once done with those files, I want to move them to a differnt folder and
send an email to admin.


I think moving the file upon completion should be done by the FilePoller.
For emails, see http://servicemix.goopen.org/site/email.html.

Cheers,
Guillaume Nodet

Please direct me to right place/documentation.
Thanks
--
View this message in context:
http://www.nabble.com/FTP--%3EFTP---Folder-t1783517.html#a4857180
Sent from the ServiceMix - User forum at Nabble.com.


Reply via email to