Ftp 如何在filename pattern=";*中设置动态值*&引用;可能吗?

Ftp 如何在filename pattern=";*中设置动态值*&引用;可能吗?,ftp,spring-integration,Ftp,Spring Integration,我想在文件模式中给出动态值,有可能吗 有谁能帮我做吗?你可以随意添加;只需给它们不同的ids,它们都可以提供相同的频道(或不同的频道) <int-ftp:inbound-channel-adapter id="ftpInbound1" channel="ftpChannel1" session-factory="ftpClientFactory" filename-pattern="*.docx"

我想在文件模式中给出动态值,有可能吗



有谁能帮我做吗?

你可以随意添加;只需给它们不同的
id
s,它们都可以提供相同的频道(或不同的频道)

<int-ftp:inbound-channel-adapter id="ftpInbound1"
            channel="ftpChannel1"
            session-factory="ftpClientFactory"
            filename-pattern="*.docx"
            auto-create-local-directory="true"
            delete-remote-files="false"
            remote-directory="${remoteDir}"
            local-directory="${localDir}">
        <int:poller fixed-rate="12000" max-messages-per-poll="100"/>
</int-ftp:inbound-channel-adapter>