@Override
protected CamelContext createCamelContext() throws Exception {
camelContext = SpringCamelContext.springCamelContext(applicationContext);
smxComponent = new ServiceMixComponent();
nmr = new ServiceMix();
((ServiceMix)nmr).init();
smxComponent.setNmr(nmr);
camelContext.addComponent("smx", smxComponent);
return camelContext;