@Override
protected CamelContext createCamelContext() throws Exception {
SpringCamelContextFactory factory = new SpringCamelContextFactory();
factory.setApplicationContext(getApplicationContext());
factory.setBundleContext(getBundleContext());
return factory.createContext();
}
@Override
// setup the ActiveMQ component and register it into the camel context
protected void setupCamelContext(CamelContext camelContext) throws Exception {