Package org.jencks

Examples of org.jencks.GeronimoPlatformTransactionManager


        LOG.info("============================================================");
        super.setUp();
        ExchangeImpl.getConverter();
        this.port = findFreePort();
        this.executor = createTaskExecutor();
        this.transactionManager = new GeronimoPlatformTransactionManager();
        this.broker = createBroker(true);
        this.connectionFactory = createConnectionFactory();
        this.nmr1 = createNmr();
        this.nmr2 = createNmr();
        this.listener = new ExchangeCompletedListener(60000);
View Full Code Here


public class StatelessJcaFlowTest extends StatelessJmsFlowTest {

    private TransactionManager tm;

    protected void setUp() throws Exception {
        tm = new GeronimoPlatformTransactionManager();
        super.setUp();
    }
View Full Code Here

        broker.setUseJmx(false);
        broker.setPersistent(false);
        broker.addConnector("tcp://localhost:61616");
        broker.start();
       
        tm = new GeronimoPlatformTransactionManager();
       
        // Create an embedded database for testing tx results when commit / rollback
        ConnectionManagerFactoryBean factory = new ConnectionManagerFactoryBean();
        factory.setTransactionManager(tm);
        factory.setTransaction("xa");
View Full Code Here

     * @see TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();

        GeronimoPlatformTransactionManager tm = new GeronimoPlatformTransactionManager();
        tt = new TransactionTemplate(tm);

        BrokerFactoryBean bfb = new BrokerFactoryBean(new ClassPathResource("org/apache/servicemix/jbi/nmr/flow/jca/broker.xml"));
        bfb.afterPropertiesSet();
        broker = bfb.getBroker();
View Full Code Here

    protected void tearDown() throws Exception {
        senderContainer.shutDown();
    }

    protected void createTransactionLayer() throws Exception {
        GeronimoPlatformTransactionManager gtm = new GeronimoPlatformTransactionManager();
        tm = gtm;
        tt = new TransactionTemplate(gtm);
    }
View Full Code Here

        broker.setUseJmx(false);
        broker.setPersistent(false);
        broker.addConnector("tcp://localhost:61616");
        broker.start();
       
        tm = new GeronimoPlatformTransactionManager();
       
        // Create an embedded database for testing tx results when commit / rollback
        ConnectionManagerFactoryBean factory = new ConnectionManagerFactoryBean();
        factory.setTransactionManager(tm);
        factory.setTransaction("xa");
View Full Code Here

        broker.setUseJmx(false);
        broker.setPersistent(false);
        broker.addConnector("tcp://localhost:61616");
        broker.start();

        tm = new GeronimoPlatformTransactionManager();

        jbi = new JBIContainer();
        jbi.setFlows(new Flow[] { new SedaFlow(), new JCAFlow() });
        jbi.setEmbedded(true);
        jbi.setUseMBeanServer(false);
View Full Code Here

    private Connection connection;
    private StoreFactory factory;
    private TransactionManager tm;

    protected void setUp() throws Exception {
        tm = new GeronimoPlatformTransactionManager();
       
        // Create an embedded database for testing tx results when commit / rollback
        ConnectionManagerFactoryBean cmFactory = new ConnectionManagerFactoryBean();
        cmFactory.setTransactionManager(tm);
        cmFactory.setTransaction("xa");
View Full Code Here

    protected void tearDown() throws Exception {
      senderContainer.shutDown();
    }
   
    protected void createTransactionLayer() throws Exception {
      GeronimoPlatformTransactionManager gtm = new GeronimoPlatformTransactionManager();
      tm = gtm;
        tt = new TransactionTemplate(gtm);
    }
View Full Code Here

     * @see TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();
       
        GeronimoPlatformTransactionManager tm = new GeronimoPlatformTransactionManager();
        tt = new TransactionTemplate(tm);
      
        BrokerFactoryBean bfb = new BrokerFactoryBean(new ClassPathResource("org/apache/servicemix/jbi/nmr/flow/jca/broker.xml"));
        bfb.afterPropertiesSet();
        broker = bfb.getBroker();
View Full Code Here

TOP

Related Classes of org.jencks.GeronimoPlatformTransactionManager

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.