Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2624

support for async responses on single tcp connection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • 2.2.0
    • Future
    • camel-mina2
    • None
    • any

    • Advanced

    Description

      Mina Component does not support async InOut connections.
      Many applications require two way or out only async tcp connections this is not supported.
      Single TCP connection to external server. Ability to send multiple requests one after the other without waiting for a response. responses need to be processed asynchronously.

      Use Cases to Support
      1. UC-1 - Consumer sends messages after connect
        1. TCP producer (P1) connects to TCP consumer/server (C1), session is created
        2. C1 sends many messages to P1
        3. P1 receives messages and processes them
        4. C1 or P1 close the connection
      2. UC-2 - Full async session
        1. P1 connects to C1
        2. P1 and C1 send and receive messages ansynchronously. There is no blocking write-read loop.

      Attachments

        1. Mina2ClientServerTest.java
          6 kB
          Chad Beaulac
        2. Mina2TcpAsyncOutOnly.java
          9 kB
          Chad Beaulac

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skusma@arccorp.com Anand
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: