Reputation: 21
What is the difference between tcp inbound channel adaptor and tcp inbound channel gateway (Spring Integration)?
Upvotes: 0
Views: 1183
Reputation: 174729
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/spring-integration/reference/html/ip.html
This is common to all Spring Integration components (adapters are one-way, gateways are for request/reply).
Upvotes: 3