You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/04/09 14:51:00 UTC

[jira] [Created] (CAMEL-12427) camel-netty4 - Add SPI to plugin custom correlation state for request/reply in producer

Claus Ibsen created CAMEL-12427:
-----------------------------------

             Summary: camel-netty4 - Add SPI to plugin custom correlation state for request/reply in producer
                 Key: CAMEL-12427
                 URL: https://issues.apache.org/jira/browse/CAMEL-12427
             Project: Camel
          Issue Type: Improvement
          Components: camel-netty4
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.22.0


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)