Spring Integration
  1. Spring Integration
  2. INT-293

Allow for the customization of a FileEntryParser for the FtpSource

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0 M6
    • Component/s: None
    • Labels:
      None

      Description

      In general, provide better hooks for the customization of the underlying FtpClient components

        Activity

        Hide
        Iwein Fuld added a comment -

        The latest changes to FtpSource allow you to inject your own FTPClient. If you call configure on that client (e.g. using a FactoryBean or postprocessing), you could set the ConfigurableFTPFileEntryParserImpl on the client before it connects.

        Since FtpSource is Configurable I don't think we need to open it up any further.

        Show
        Iwein Fuld added a comment - The latest changes to FtpSource allow you to inject your own FTPClient. If you call configure on that client (e.g. using a FactoryBean or postprocessing), you could set the ConfigurableFTPFileEntryParserImpl on the client before it connects. Since FtpSource is Configurable I don't think we need to open it up any further.
        Hide
        Iwein Fuld added a comment -

        Refactored FtpSource to use an FTPClientPool. If you wire the source as a bean, you can configure the pool, the factory that it uses and provide your own implementations if you like to tweak.

        Show
        Iwein Fuld added a comment - Refactored FtpSource to use an FTPClientPool. If you wire the source as a bean, you can configure the pool, the factory that it uses and provide your own implementations if you like to tweak.

          People

          • Assignee:
            Iwein Fuld
            Reporter:
            Marius Bogoevici
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: