this.pool = initializePersistentInfo();
I_XmlBlasterAccess conn = this.global.getXmlBlasterAccess();
this.user = get("mom.user", this.user);
this.password = get("mom.password", this.password);
ConnectQos connectQos = new ConnectQos(this.global, this.user, this.password);
boolean persistentConnection = true;
boolean persistentSubscription = true;
connectQos.setPersistent(persistentConnection);
connectQos.setMaxSessions(1);
connectQos.setPtpAllowed(true);
connectQos.setSessionTimeout(0L);
String sessionName = REPL_MANAGER_SESSION;
connectQos.setSessionName(new SessionName(this.global, sessionName));
conn.connect(connectQos, this);
// this is the instance passed from the outside, not a clone, otherwise
// it will not find the plugin registry for the MIME plugin
putObject("org.xmlBlaster.engine.Global", global);