L.S.,

This configuration will poll XML files from the /tmp/ftp directory on
your server and send them to the endpoint for a service named
'receiver'.  The receiver service can now be anything you want: a
file:sender for writing files to the local disk, a cxf:provider for
invoking webservices or anything else we support.  The FTP poller just
knows to read the file and send it to an endpoint, so you can make
that anything you want.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/10/22 youhaodeyi <[email protected]>:
>
> I want to poll files from a ftp server. This is my xbean.xml file:
>
> <beans xmlns:http="http://servicemix.apache.org/http/1.0";
>        xmlns:server="http://servicemix.apache.org/server";
> xmlns="http://www.springframework.org/schema/beans
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:ftp="ftp://servicemix.apache.org/ftp/1.0";
>        xsi:schemaLocation="http://servicemix.apache.org/http/1.0
> http://servicemix.apache.org/schema/servicemix-http-3.2.3.xsd
>       http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>       http://servicemix.apache.org/ftp/1.0
> http://servicemix.apache.org/schema/servicemix-ftp-3.2.3.xsd";>
>
>        <ftp:poller service="request"
>            endpoint="endpoint"
>            targetService="receiver"
>            uri="ftp://anonym...@localhost:21/tmp/ftp"; />
>
> </beans>
>
> When I install this su, I didn't get any error message. I wander where I
> should set the directory for downloading files.
>
> thanks.
> --
> View this message in context: 
> http://www.nabble.com/How-can-I-use-ftp-poller--tp26003477p26003477.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to