Camel
  1. Camel
  2. CAMEL-2624

support for async responses on single tcp connection

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: Future
    • Component/s: camel-mina2
    • Labels:
      None
    • Environment:

      any

    • Estimated Complexity:
      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.
      1. Mina2TcpAsyncOutOnly.java
        9 kB
        Chad Beaulac
      2. Mina2ClientServerTest.java
        6 kB
        Chad Beaulac

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Anand
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development