this.target = beanManager.createInjectionTarget(beanManager.createAnnotatedType(CdiCamelContext.class));
}
@Override
public CdiCamelContext create(CreationalContext<CdiCamelContext> context) {
CdiCamelContext camelContext = target.produce(context);
if (ObjectHelper.isNotEmpty(camelContextName)) {
camelContext.setName(camelContextName);
}
target.postConstruct(camelContext);
context.push(camelContext);
return camelContext;
}