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

camel-netty - Allow to reuse previous Channel in next call

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.0
    • Component/s: camel-netty4
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      If you want to re-use the same Channel when calling a remote TCP server with netty producer, then this requires to store the Channel on the exchange so it can be re-used on the next netty producer and so on. And then use an UoW to return the Channel in the pool when the Exchange is done.

      For example in the route below, the 2 x netty should use the same Channel.

      from foo
        to netty
        to bar
        to netty
      

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: