how to dispatch message to channels with int-ftp spring integration?

夙愿已清 提交于 2020-01-03 03:28:04

问题


thanks for attention,
i used int-ftp:outbound-gateway to ls command on ftp server , i want to process output channel and dispatch to other channel , my code is:

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

how proccess output channel and dispatch to other channel for example input1 and input2?

来源:https://stackoverflow.com/questions/29769810/how-to-dispatch-message-to-channels-with-int-ftp-spring-integration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!