davsclaus commented on PR #15496: URL: https://github.com/apache/camel/pull/15496#issuecomment-2348494053
Hmm I think this is somewhat wrong with these thread pool. If the purpose is to ensure the otel context is correct for the given exchange and to store/get that via thread locals, then look at MDC and the `MDCUnitOfWork` it is doing this kind of stuff. It has callbacks for before/after and coupled with the Exchange processing by Camel which allows better to setup/cleanup otel context accordingly. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
