title: Global exception handler across the camel context – covering all routes
body: <p>I have camel 10 camel routes something like below:</p>
  <pre class="lang-java prettyprint-override"><code>@AllArgsConstructor
  public class MyCamelRoute extends RouteBuilder {
  
      /**
       * {@inheritDoc}
       */
      @Override
      public void configure() throws Exception {
      }
  }  
  </code></pre>
  <p>Above <code>MyCamelRoute</code> is created using below code which loads Camel route into Spring container:</p>
  <pre class="lang-java prettyprint-override"><code> @Bean(&quot;myCamelRoute&quot;)
   public RouteBuilder createMyCamelRoute () {
          return new MyCamelRoute();
   }
  </code></pre>
  <p>Now I need to have a global exception handler across the Camel context – covering all routes.</p>