[
https://issues.apache.org/jira/browse/CXF-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17886929#comment-17886929
]
Freeman Yue Fang commented on CXF-9063:
---------------------------------------
Hi [~reta],
I have checked this issue quickly and put my comment in CAMEL-21302. For now I
think most likely we need to address it in camel code base.
Best Regards
Freeman
> OpenTelemetry context leak with CXF async client
> ------------------------------------------------
>
> Key: CXF-9063
> URL: https://issues.apache.org/jira/browse/CXF-9063
> Project: CXF
> Issue Type: Bug
> Components: Core, Tracing
> Affects Versions: 4.0.5
> Reporter: Matthew Robson
> Priority: Major
>
> There seems to be a Otel context leak when using a CXF producer in async
> mode. This causes different requests to have the same traceId. As a
> workaround, setting synchronous=true on the CXF producer resolves the issue.
> Unit test to reproduce added to camel:
> https://github.com/apache/camel/blob/7d83a62b8e442dc9ac6fd79b153192add940301e/components/camel-opentelemetry/src/test/java/org/apache/camel/opentelemetry/AsyncCxfTest.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)