Results 1 to 2 of 2

Thread: programatically start ftp inbound channel adapter, and stop once all files downloaded

  1. #1

    Default 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.

  2. #2
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    635

    Default

    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
  •