[
https://issues.apache.org/jira/browse/CAMEL-16227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286494#comment-17286494
]
Krzysztof Jamróz commented on CAMEL-16227:
------------------------------------------
Netty Channel has attributes which I used to store appropriate correlation
manager. PR: https://github.com/apache/camel/pull/5101
> Netty with reuseChannel=true invokes wrong callback
> ---------------------------------------------------
>
> Key: CAMEL-16227
> URL: https://issues.apache.org/jira/browse/CAMEL-16227
> Project: Camel
> Issue Type: Bug
> Components: camel-netty
> Affects Versions: 3.7.2
> Reporter: Krzysztof Jamróz
> Priority: Major
> Attachments: NettyReuseChannelCallbackTest.java
>
>
> Netty when configured with {{reuseChannel=true}} invokes wrong
> {{AsyncCallback}}. It invokes callback registered by first netty invocation
> in given route multiple times. This can be observed by debugging
> {{NettyReuseChannelTest}}. This seems not to cause serious problems at least
> in simple cases, because both callbacks (from {{SendProcessor}}) do not do
> much and simply continue routing. I am not sure if in more complex cases this
> could cause more problems.
> However there is one observable issue caused by this behavior: event
> notifications contain wrong endpoint and wrong time taken. I attached a test
> for it.
> Another problem is that this behavior makes it harder (if possible at all) to
> fix CAMEL-16178 for case with {{reuseChannel=true}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)