title: Open tracer Jaeger Trace not getting reflect for apache camel
body: <p>I am new to apache camel and  open tracing with Jaeger, I  trying to get the traces for apache camel in Jaeger UI but its not getting captured through Open Tracing.</p>
  <pre><code>import org.apache.camel.CamelContext;
  import org.apache.camel.builder.RouteBuilder;
  import org.apache.camel.impl.DefaultCamelContext;
  import org.springframework.stereotype.Component;
  
  @Component
  public class RouteBuilderClient {
  
      public void test() throws Exception {
  
          DefaultCamelContext camelContext = new DefaultCamelContext();
          camelContext.addRoutes(new RouteBuilder() {
              @Override
              public void configure() throws Exception {
                  from(&quot;timer:first-timer&quot;)
                          .to(&quot;log:first-timer&quot;);
              }
          });
          camelContext.start();
          camelContext.stop();
  
      }
  
  
  }
  </code></pre>
  <p>However if if I extend the RouteBuilder class(Below is the sample code) and then I override the configure method then traces are getting generated for Apache camel. Is there any way without extending the routeBuilder I can get the traces?</p>
  <pre><code>import org.apache.camel.builder.RouteBuilder;
  import org.springframework.stereotype.Component;
  
  @Component
  public class RouteBuilderClient extends RouteBuilder {
      @Override
      public void configure() throws Exception {
          from(&quot;timer:first-timer&quot;)
                  .to(&quot;log:first-timer&quot;);
      }
  }
  </code></pre>
  <p>My controller class:</p>
  <pre><code>import org.apache.camel.opentracing.starter.CamelOpenTracing;
  import org.springframework.boot.SpringApplication;
  import org.springframework.boot.autoconfigure.SpringBootApplication;
  
  @SpringBootApplication
  @CamelOpenTracing
  public class JaegarClientApplication {
  
      public static void main(String[] args) {
          SpringApplication.run(JaegarClientApplication.class, args);
  
      }
  
  }
  </code></pre>