Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-4204

FTP Inbound Adapter/Outbound Gateway supports Spel for filename-regex

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.3.6
    • Fix Version/s: 5.0 M3
    • Component/s: FTP/SFTP Support
    • Labels:

      Description

      In my use case, the filename regular expression is constructed on the fly.

      The existing attribute filename-regex and filename-pattern could only allowed static pattern

      Is it possible to support Spel expression attribute for FTP Inbound Adapter and FTP Outbound Gateway similar to the following?

      <int-ftp:outbound-gateway session-factory="sessionFactory"
                                        command="ls"
                                        expression="/"
                                        filename-regex-pattern="@someBean.somePattern" />
      

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            simonwg Simon Wong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: