int haStorePoolUpperSize = configReader.getHAStorePoolUpperSizeFromConfig();
int haStorePoolPollTime = configReader.getHAStorePoolPollTimeFromConfig();
// SipApplicationSession StorePool
StoreFactory sipApplicationSessionStoreFactory = new SipApplicationSessionStoreFactory();
StorePool sipApplicationSessionStorePool = new StorePool(haStorePoolSize,
haStorePoolUpperSize, haStorePoolPollTime,
sipApplicationSessionStoreFactory);
mgr.setSipApplicationSessionStorePool(sipApplicationSessionStorePool);
// SipSession StorePool
StoreFactory sipSessionStoreFactory = new SipSessionStoreFactory();
StorePool sipSessionStorePool = new StorePool(haStorePoolSize,
haStorePoolUpperSize, haStorePoolPollTime,
sipSessionStoreFactory);
mgr.setSipSessionStorePool(sipSessionStorePool);
// ServletTimer StorePool
StoreFactory servletTimerStoreFactory = new ServletTimerStoreFactory();
StorePool servletTimerStorePool = new StorePool(haStorePoolSize,
haStorePoolUpperSize, haStorePoolPollTime,
servletTimerStoreFactory);
mgr.setServletTimerStorePool(servletTimerStorePool);
ctx.setSipSessionManager(mgr);