Changed the way of create MapDB's messages and session stores, it's now more coupled (they are the same stuff at the end)

This commit is contained in:
andsel
2016-09-23 10:11:50 +02:00
parent 4d637a349b
commit ac5a4daa6f
4 changed files with 16 additions and 12 deletions
@@ -75,7 +75,7 @@ public class ProtocolProcessorBootstrapper {
m_mapStorage = new MapDBPersistentStore(props);
m_mapStorage.initStore();
IMessagesStore messagesStore = m_mapStorage.messagesStore();
ISessionsStore sessionsStore = m_mapStorage.sessionsStore(messagesStore);
ISessionsStore sessionsStore = m_mapStorage.sessionsStore();
List<InterceptHandler> observers = new ArrayList<>(embeddedObservers);
String interceptorClassName = props.getProperty(BrokerConstants.INTERCEPT_HANDLER_PROPERTY_NAME);