<p>I have developed a Camel route with Spring Boot. Now I want to trace the route using Jaeger. I tried <a href="https://github.com/apache/camel/tree/master/examples/camel-example-opentracing" rel="nofollow noreferrer">this example</a> to trace the route using <code>camel-opentracing</code> component, but I am unable to get the traces to Jaeger.</p>
<p>I can only see it in the console. One thing I am not clear is where to add the Jaeger URL?
Any working example will be helpful.</p>

<p>Apache Camel doesn't provide an implementation of <a href="https://opentracing.io/" rel="nofollow noreferrer">OpenTracing</a>, so you have to add also an implementation to your dependencies. For example <a href="https://www.jaegertracing.io/" rel="nofollow noreferrer">Jaeger</a>.</p>
<p><strong>Maven POM:</strong></p>
<pre class="lang-xml prettyprint-override"><code>    &lt;dependency&gt;
        &lt;groupId&gt;org.apache.camel.springboot&lt;/groupId&gt;
        &lt;artifactId&gt;camel-opentracing-starter&lt;/artifactId&gt;
        &lt;version&gt;${camel.version}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;io.opentracing.contrib&lt;/groupId&gt;
        &lt;artifactId&gt;opentracing-spring-jaeger-starter&lt;/artifactId&gt;
        &lt;version&gt;3.2.2&lt;/version&gt;
    &lt;/dependency&gt;
</code></pre>
<p>Also you have to enable OpenTracing for Apache Camel on your Spring Boot application class, see <a href="https://camel.apache.org/components/latest/others/opentracing.html#_spring_boot" rel="nofollow noreferrer">Spring Boot</a>:</p>
<blockquote>
<p>If you are using Spring Boot then you can add the <code>camel-opentracing-starter</code> dependency, and turn on OpenTracing by annotating the main class with <code>@CamelOpenTracing</code>.</p>
<p>The Tracer will be implicitly obtained from the camel context’s Registry, or the ServiceLoader, unless a Tracer bean has been defined by the application.</p>
</blockquote>
<p><strong>Spring Boot application class:</strong></p>
<pre class="lang-java prettyprint-override"><code>@SpringBootApplication
@CamelOpenTracing
public class CamelApplication {

    public static void main(String[] args) {
        SpringApplication.run(CamelApplication.class, args);
    }
}
</code></pre>
