Thanks!
Using wire-tap, process works great (I think :-) 

ps. 
process is: 
1)poll dir for files 
2)wire-tap to ftp server and after transport do ftp-rename, and send to
archiving filewriter customized to do "date-archiving" wich creates dirs
named to todays date.

/Johan
==========================

Gert Vanthienen wrote:
> 
> L.S.,
> 
> I have recently built a very similar application.  For the archiving, I 
> use an <eip:wire-tap /> which forwards the message to the FTP server and 
> sends a copy to another service for archiving purposes.
> 
> Regards,
> 
> Gert
> 
> johper wrote:
>> Hi,
>> I have a customized file-comp and ftp-comp in a service-unit. The task I
>> would like to complete
>> is first polling a dir then sending that file to FTP-server and after
>> that
>> archive it locally on the filesystem.
>> What kind of pattern should I use? Any suggestions appreciated
>> Tia
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/What-pattern-to-use--tf3408712s12049.html#a9510891
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to