-
May 28th, 2012, 05:00 AM
#1
programatically start ftp inbound channel adapter, and stop once all files downloaded
I would like to programaticall start a ftp inbound channel adapter, and once all files have been downloaded, it should stop polling. for each file then downloaded, and put on the channel, I will use a service activator to process each file.
is this possible?
is ftp inbound channel adapter appropriate for this usecase?
there would typically be between 1 and 1000ish files on the ftp site, with filesizes ranging upto 100megs each
Last edited by shaine; May 28th, 2012 at 05:48 AM.
-
May 29th, 2012, 01:35 AM
#2
Hello
Try to use Control Bus here.
Any Inbound Channel Adapter, as may Spring Integration components, has methods start() & stop(), which is accessible via JMX command.
Artem Bilan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules