Hi, 
Thanks for your prompt reply.

I want to schedule the FTP poller (receiver) to poll at particular
intervals. But the poller endpoint attributes doesnt provide option for
giving a polling interval. That is the reason i was looking at the option of
using Quartz for scheduling. 
It would be very helpful if you can suggest a way to implement FTP Poller
intervals.

Thanks,
Manosha.



lhein wrote:
> 
> Hi,
> 
> I am not sure that I understand what you are trying to do here.
> You wired it like this:
> 
> QUARTZ  --> FTP Receiver --> FTP Sender
> 
> That will not work. The ftp receiver is a polling endpoint which uses
> it's own polling cycle.
> A polling on demand is not yet possible. You should drop your quartz
> endpoint and schedule
> your ftp receiver instead.
> 
> Regards
> Lars
> 
> 
> 2009/9/8 manosha <[email protected]>:
>>
>> 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.
>>
>>
> 
> 
> 
> -- 
> http://lhein.blogspot.com
> 
> 
> -----
> Regards 
> Lars 
> 
> 
> http://lhein.blogspot.com 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Service-Mix-Quartz-tp25342977p25343207.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to