jamesnetherton commented on issue #7801:
URL: https://github.com/apache/camel-quarkus/issues/7801#issuecomment-3473162759

   > patch on our extension
   
   We probably need to do some work on the `camel-opentelemetry2` component. I 
don't think this issue is unique to Camel Quarkus.
   
   E.g on Spring Boot you could do:
   
   ```java
   @RestController
   public class GreetingService {
       @Autowired
       ProducerTemplate producerTemplate;
   
       @GetMapping("/greeting")
       public String getGreeting() {
           return producerTemplate.requestBody("direct:greet", null, 
String.class);
       }
   }
   ```
   
   Similar to the scenarios above, you get disconnected spans. The HTTP request 
is separated from the tracing of the `direct` route.
   
   It works ok with the older `camel-opentelemetry` component.


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

Reply via email to