What is the difference between tcp inbound channel adaptor and tcp inbound channel gateway (Spring Integration)?
What is the difference between tcp inbound channel adaptor and tcp inbound channel gateway (Spring Integration)?
The tcp adapter is for one-way integration (receives a message, and does not send a reply) whereas the gateway is for cases where you want the server to return a reply.
See the first paragraph here...
http://static.springsource.org/sprin...e/html/ip.html
This is common to all Spring Integration components (adapters are one-way, gateways are for request/reply).
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware