Hi I am trying to schedule file transfer for an FTP using ServiceMix Quartz.I tried the quratz end points in xbean as well as servicemix file.File transer is working fine but scheduleing is not happening. the x bean content is below: The blow xbean is working fine and this transfers any file at once.
<beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0" xmlns:tut="urn:servicemix:tutorial"> - <!-- add the sender endpoint here --> - <ftp:sender service="test:receiver" endpoint="receiver" uri="ftp://ftpuser:[email protected]/ftpuser/data/sender"> - <property name="marshaler"> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" /> </property> </ftp:sender> - <!-- add the poller endpoint here --> - <ftp:poller service="test:pollerservice" endpoint="pollerendpoint" uri="ftp://ftpuser:[email protected]/ftpuser/data/poller" recursive="false" targetService="test:receiver" targetEndpoint="receiver"> - <property name="marshaler"> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" /> </property> </ftp:poller> </beans> I added the below code after the first line <quartz:endpoint service="test:receiver" endpoint="receiver" targetService="test:receiver"> <quartz:trigger> <quartz:simple repeatCount="0" repeatInterval="12000" /> </quartz:trigger> </quartz:endpoint> If this is not the way to implement , then pls guide us how we can implement ftp file transefer using qauartz. I haven't got any lightneing document on this to help us. Thanks in advance. -- View this message in context: http://www.nabble.com/Service-Mix-Quartz-tp25342977p25342977.html Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
