Package org.jboss.messaging.core.plugin

Examples of org.jboss.messaging.core.plugin.JDBCPersistenceManager


      super.tearDown();
   }
      
   protected JDBCPersistenceManager createPM(boolean batch, int maxParams) throws Throwable
   {     
      JDBCPersistenceManager p =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, batch, true, false, maxParams);     
      p.start();
      return p;
   }
View Full Code Here


      super.setUp();
      sc = new ServiceContainer("all,-remoting,-security");
      sc.start();

      pm =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, true, true, false, 100);  
      pm.start();
           
      ms = new SimpleMessageStore();
View Full Code Here

      pm.stop();
      tr.stop();
      ms.stop();
     
      pm =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, true, true, false, 100);     
      pm.start();
     
      ms = new SimpleMessageStore();
View Full Code Here

      pm.stop();
      tr.stop();
      ms.stop();
     
      pm =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, true, true, false, 100);    
      pm.start();
     
      ms = new SimpleMessageStore();
View Full Code Here

     
      ServiceContainer sc = new ServiceContainer("all,-remoting,-security");
      sc.start();
     
      PersistenceManager pm =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, true, true, false, 100);
      pm.start();
     
      IDManager idm = new IDManager("TRANSACTION_ID", 10, pm);
      idm.start();
     
      TransactionRepository tr = new TransactionRepository(pm, new SimpleMessageStore(), idm);
      tr.start();
     
      Transaction tx = tr.createTransaction();
     
      ((SimpleDelivery)delivery).acknowledge(tx);
     
      assertTrue(delivery.isDone());
     
      pm.stop();
      tr.stop();
     
      sc.stop();
   }
View Full Code Here

      sc = new ServiceContainer("all");
      sc.start();               
     
      pm =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, true, true, false, 100);    
      pm.start();
     
      pm.start();
View Full Code Here

   }
  
   protected JDBCPersistenceManager createPM(boolean batch, boolean useBinaryStream,
                                             boolean trailingByte, int maxParams) throws Throwable
   {     
      JDBCPersistenceManager p =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, batch, useBinaryStream, trailingByte, maxParams);
      p.start();
      return p;
   }
View Full Code Here

      sc = new ServiceContainer("all");

      sc.start();

      pm =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, true, true, false, 100);
      pm.start();

      transactionIDManager = new IDManager("TRANSACTION_ID", 10, pm);
View Full Code Here

      super.setUp();
     
      sc = new ServiceContainer("all,-remoting,-security");
      sc.start();

      pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                                      sc.getPersistenceManagerSQLProperties(),
                                      true, true, true, false, 100);
      pm.start();
     
      idm = new IDManager("TRANSACTION_ID", 10, pm);
View Full Code Here

      sc = new ServiceContainer("all,-remoting,-security");
      sc.start();

      pm =
         new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
                  sc.getPersistenceManagerSQLProperties(),
                  true, true, true, false, 100);    
      pm.start();
     
      idm = new IDManager("TRANSACTION_ID", 10, pm);
View Full Code Here

TOP

Related Classes of org.jboss.messaging.core.plugin.JDBCPersistenceManager

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.