Announcement Announcement Module
Collapse
No announcement yet.
programatically start ftp inbound channel adapter, and stop once all files downloaded Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 05:48 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

    Comment

    Working...
    X