code: public static SpringCamelContext createSingleCamelContext(URL contextUrl, ClassLoader classsLoader) throws Exception {
          SpringCamelContextBootstrap bootstrap = new SpringCamelContextBootstrap(contextUrl, classsLoader);
          List<SpringCamelContext> list = bootstrap.createSpringCamelContexts();
          IllegalStateAssertion.assertEquals(1, list.size(), "Single context expected in: " + contextUrl);
          return list.get(0);
      }
docs: Create a single {@link SpringCamelContext} from the given URL
  @throws IllegalStateException if the given URL does not contain a single context definition