if (log.isLoggable(Level.FINER))
log.finer("init");
// init the storages
QueuePropertyBase sessionProp = new SessionStoreProperty(this.global, this.global.getStrippedId());
if (sessionProp.getMaxEntries() > 0L) {
String type = sessionProp.getType();
String version = sessionProp.getVersion();
// NEW: "heron", "session", "subPersistence,1.0"
this.sessionStorageId = new StorageId(glob, this.global.getDatabaseNodeStr(), Constants.RELATING_SESSION,
this.info.getId());
// OLD: "session", "heron/subPersistence,1.0"
// this.sessionStorageId = new StorageId(glob,
// Constants.RELATING_SESSION, this.global.getStrippedId() +"/" +
// this.info.getId());
// -> OLD: xb_entries.queuename="session_heronsubPersistence,1_0"
this.sessionStore = this.global.getStoragePluginManager().getPlugin(type, version, this.sessionStorageId, sessionProp);
}
else {
if (log.isLoggable(Level.FINE))
log.fine(Constants.RELATING_SESSION + " persistence for session is switched off with maxEntries=0");
}
QueuePropertyBase subscribeProp = new SubscribeStoreProperty(this.global, this.global.getStrippedId());
if (subscribeProp.getMaxEntries() > 0L) {
String type = subscribeProp.getType();
String version = subscribeProp.getVersion();
this.subscribeStorageId = new StorageId(glob, this.global.getDatabaseNodeStr(),
Constants.RELATING_SUBSCRIBE,
this.info.getId());
// id from xmlBlasterPlugins.xml: "subPersistence,1_0"
// this.subscribeStorageId = new StorageId(glob,