Results 1 to 2 of 2

Thread: Difference between tcp inbound channel adaptor and tcp inbound channel gateway?

  1. #1
    Join Date
    Dec 2011
    Posts
    7

    Lightbulb Difference between tcp inbound channel adaptor and tcp inbound channel gateway?

    What is the difference between tcp inbound channel adaptor and tcp inbound channel gateway (Spring Integration)?

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,036

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •