new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(),
sc.getPersistenceManagerSQLProperties(),
true, true, true, false, 100);
pm.start();
transactionIDManager = new IDManager("TRANSACTION_ID", 10, pm);
transactionIDManager.start();
ms = new SimpleMessageStore();
ms.start();
tr = new TransactionRepository(pm, ms, transactionIDManager);
tr.start();
channelIDManager = new IDManager("CHANNEL_ID", 10, pm);
channelIDManager.start();
conditionFactory = new SimpleConditionFactory();
log.debug("setup done");