jam01 commented on pull request #4490: URL: https://github.com/apache/camel/pull/4490#issuecomment-727526139
@orange-buffalo @oscerd This was actually being done here https://github.com/apache/camel/blob/master/components/camel-opentracing/src/main/java/org/apache/camel/opentracing/OpenTracingTracingStrategy.java#L75 The change introduced here is not guaranteed to work if the span-aware processor executes in a different thread than the one where the route policy starts the exchange. The default Scope manager uses ThreadLocals. Im not entirely sure if this addition really breaks anything, but the TracingStartegy should provide what you needed. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org