use of org.apache.camel.impl.CamelPostProcessorHelper in project camel by apache.
the class CdiCamelBeanPostProcessor method getPostProcessorHelper.
private CamelPostProcessorHelper getPostProcessorHelper(String contextName) {
CamelPostProcessorHelper helper = postProcessorHelpers.get(contextName);
if (helper == null) {
CamelContext context = getOrLookupCamelContext(contextName);
if (context == null) {
throw new UnsatisfiedResolutionException("No Camel context with name [" + contextName + "] is deployed!");
}
helper = new CamelPostProcessorHelper(context);
postProcessorHelpers.put(contextName, helper);
}
return helper;
}
Aggregations