When I tried to define TcpOutboundGateway
bean, I found that class doesn't have requestChannel
and replyChannelName
setters. How can I correctly define that bean in my Java class configuration?
Which Java class configuration is equal to the XML configuration presented below?
<int-ip:tcp-outbound-gateway id="outGateway"
request-channel="input"
reply-channel="clientBytes2StringChannel"
connection-factory="client"
request-timeout="10000"
reply-timeout="10000"/>