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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.17.0
    • camel-netty4
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: