Package org.jboss.messaging.core.impl.postoffice

Examples of org.jboss.messaging.core.impl.postoffice.MessagingPostOffice


/*     */         {
/* 401 */           this.log.debug(this + " uses XMLJChannelFactory");
/* 402 */           jChannelFactory = new XMLChannelFactory(this.controlChannelConfig, this.dataChannelConfig);
/*     */         }
/*     */
/* 405 */         this.postOffice = new MessagingPostOffice(this.ds, tm, this.sqlProperties, this.createTablesOnStartup, nodeId, this.officeName, ms, pm, tr, ff, cf, idManager, clusterNotifier, this.groupName, jChannelFactory, this.stateTimeout, this.castTimeout, serverPeer.isSupportsFailover(), this.maxConcurrentReplications);
/*     */       }
/*     */       else
/*     */       {
/* 419 */         this.postOffice = new MessagingPostOffice(this.ds, tm, this.sqlProperties, this.createTablesOnStartup, nodeId, this.officeName, ms, pm, tr, ff, cf, idManager, clusterNotifier);
/*     */       }
/*     */
/* 427 */       this.postOffice.start();
/*     */
/* 429 */       this.started = true;
View Full Code Here


      ChannelFactory jChannelFactory =
         new ClusteredPersistenceServiceConfigFileJChannelFactory(configFilePath,
                                                                  sc.getMBeanServer());

      MessagingPostOffice postOffice =
         new MessagingPostOffice(sc.getDataSource(), sc.getTransactionManager(),
                                 sc.getPostOfficeSQLProperties(), true, nodeID,
                                 "Clustered", ms, pm, tr, ff, cf, idm, cn,
                                 groupName, jChannelFactory,
                                 stateTimeout, castTimeout, true, 100, false);

      postOffice.start();

      return postOffice;
   }
View Full Code Here

      FilterFactory ff = new SimpleFilterFactory();
      ConditionFactory cf = new SimpleConditionFactory();
      IDManager idm = new IDManager("channel_id", 10, pm);
      ClusterNotifier cn = new DefaultClusterNotifier();

      MessagingPostOffice postOffice =
         new MessagingPostOffice(sc.getDataSource(), sc.getTransactionManager(),
                                 sc.getPostOfficeSQLProperties(),
                                 true, 1, "NonClustered", ms, pm, tr, ff, cf, idm, cn);

      postOffice.start();

      return postOffice;
   }
View Full Code Here

TOP

Related Classes of org.jboss.messaging.core.impl.postoffice.MessagingPostOffice

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.