this.factory = qmf;
}
public void contextInitialized(ServletContextEvent event) {
final ServletContext servletContext = event.getServletContext();
RackContext rackContext = (RackContext) servletContext.getAttribute(RackApplicationFactory.RACK_CONTEXT);
try {
QueueManager qm = newQueueManagerFactory().newQueueManager();
qm.init(rackContext);
servletContext.setAttribute(QueueManager.MGR_KEY, qm);