How can I set default outgoing port and listening port on spring integration?
问题 How can I set default outgoing port and listening port for the reply on spring integration? Is it possible? I want to do that with tcp technology. Here is my code: <int-ip:tcp-connection-factory id="client" type="client" host="${netSocketServer}" port="${netPort}" single-use="true" so-timeout="${netSoTimeOut}" /> <int:channel id="input" /> <int-ip:tcp-outbound-gateway id="outGateway" request-channel="input" reply-channel="reply" connection-factory="client" request-timeout="${netRequestTimeout