Package org.xmlBlaster.contrib.replication

Examples of org.xmlBlaster.contrib.replication.ReplSourceEngine


     
      // registering this instance to the Replication Manager
      HashMap subscriptionMap = new HashMap();
      subscriptionMap.put("ptp", "true");
      if (this.publisher != null) {
         replSourceEngine = new ReplSourceEngine(replPrefix, publisher, this);
         this.publisher.registerAlertListener(this, subscriptionMap);
      }
      this.initialCmdSleepDelay = this.info.getLong("replication.initialCmd.sleepDelay", 10L);
     
      // rewrite the default behaviour of the timestamp detector to detect even UPDATES (deletes are also updates)
View Full Code Here


         MsgKeyData key = global.getMsgKeyFactory().readObject(publishKey);
         oid = key.getOid();
      }
      publisher.initWithExistingGlob(global, publishKey, publishQos, 0);
      replSource = new ReplSource(info_, oid);
      replSourceEngine = new ReplSourceEngine(replPrefix, publisher, replSource);
      replSource.setEngine(replSourceEngine);
      Map attrs = new HashMap();
      attrs.put("ptp", "true");
      try {
         publisher.registerAlertListener(replSourceEngine, attrs);
View Full Code Here

TOP

Related Classes of org.xmlBlaster.contrib.replication.ReplSourceEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.