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

camel-netty4 - Add SPI to plugin custom correlation state for request/reply in producer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.21.1, 2.22.0
    • camel-netty4
    • None
    • Unknown

    Description

      Currently you would need to extend camel-netty4 and override NettyProducer where you would override

      • getState
      • removeState
      • putState

      methods where you have your own correlation id mapping so you can map the multiplexed requesy/replies to the correct Camel Exchange / AsyncCallback pair.

      We can likely add some new SPI interface to camel-netty4 where we can make this easier for 3rd party to plugin their custom logic.

      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: