if (isCreateCamelContextPerClass()) {
applicationContext = threadAppContext.get();
}
// use the bean post processor from camel-spring
CamelBeanPostProcessor processor = new CamelBeanPostProcessor();
processor.setApplicationContext(applicationContext);
processor.setCamelContext(context);
processor.postProcessBeforeInitialization(this, getClass().getName());
processor.postProcessAfterInitialization(this, getClass().getName());
}