如何使用int-ftp spring集成将消息发送到通道?

时间:2015-04-21 10:37:31

标签: spring ftp spring-integration

感谢关注,
我在ftp服务器上使用int-ftp:outbound-gateway命令,我想处理输出通道并调度到其他通道,我的代码是:

<int:channel id="inbound1"/>

    <int-ftp:outbound-gateway id="gatewayLS"
                              session-factory="ftpSessionFactory"
                              request-channel="inbound1"
                              command="ls"
                              command-options="-R"
                              expression="payload"
                              reply-channel="output"/>
    <int:channel id="output">
        <int:interceptors>
            <int:wire-tap channel="logger"/>
        </int:interceptors>
    </int:channel>

proccess如何输出通道并调度到其他通道,例如input1和input2?

0 个答案:

没有答案
相关问题