valdar commented on pull request #4001:
URL: https://github.com/apache/camel/pull/4001#issuecomment-663493308


   Hey @jam01. I understand there is no automatic way, but what the code at 
https://github.com/apache/camel/blob/camel-3.4.0/components/camel-opentracing/src/main/java/org/apache/camel/opentracing/OpenTracingTracer.java?rgh-link-date=2020-07-23T08%3A52%3A19Z#L325
 was trying to do was exactly that. If I understand it correctly it can be 
phrased in words as: When an exchange is started to being routed in a camel 
route, if that exchange contains a header named `uber-trace-id` use its value 
to construct a tracing context for the next span.
   
   It might not cover all the cases, it might not be automatic, but from what I 
remember from using camel-tracing, it was working for the most commonly used 
components: `http`, `jms`, exposing rest to name a few.
   
   Am I missing something obvious that prevents using the same logic? 


----------------------------------------------------------------
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


Reply via email to