Hi,
Here is my ftp:inbound-channel-adapter configuration which is not doing anything... I mean it is not polling files from the ftp server.
<ftp:inbound-channel-adapter id="rejectsFtpAdapter"
channel="rejectsChannel"
host="${fileServerHost}" port="21"
remote-working-directory="${rejectsRemoteDirectory}"
local-working-directory="file:${rejectsLocalTempDirectory}"
username="abc"
password="abc">
<cron-trigger expression="10 * * * * *"></cron-trigger>
</ftp:inbound-channel-adapter>
<service-activator input-channel="rejectsChannel" ref="rejectsProcessorEndpoint"/>
But, if manually copy files into the configured local directory, the endpoint class (i.e. rejectsProcessorEndpoint) is getting executed perfectly fine.
Please let me know if i am missing something here.
Thanks,
Prabhakara Gangi.


Reply With Quote
