imanager.register(new WorkQueueManagerImplMBeanWrapper(this));
} catch (JMException jmex) {
LOG.log(Level.WARNING , jmex.getMessage(), jmex);
}
}
ConfiguredBeanLocator locator = bus.getExtension(ConfiguredBeanLocator.class);
Collection<? extends AutomaticWorkQueue> q = locator
.getBeansOfType(AutomaticWorkQueue.class);
if (q != null) {
for (AutomaticWorkQueue awq : q) {
addNamedWorkQueue(awq.getName(), awq);
}
}
if (!namedQueues.containsKey("default")) {
AutomaticWorkQueue defaultQueue
= locator.getBeanOfType("cxf.default.workqueue", AutomaticWorkQueue.class);
if (defaultQueue != null) {
addNamedWorkQueue("default", defaultQueue);
}
}