Package org.jencks

Examples of org.jencks.GeronimoPlatformTransactionManager


        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

        container.setCreateMBeanServer(false);
        container.setCreateJmxConnector(false);
        container.setRootDir("target/smx-data");
        container.setMonitorInstallationDirectory(false);
        container.setNamingContext(new InitialContext());
        container.setTransactionManager(new GeronimoPlatformTransactionManager());
    }
View Full Code Here

    private Connection connection;
    private StoreFactory factory;
    private GeronimoPlatformTransactionManager 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

        broker = new BrokerService();
        broker.setPersistent(false);
        broker.addConnector("tcp://localhost:61616");
        broker.start();
       
        txManager = (TransactionManager) new GeronimoPlatformTransactionManager();
       
        jbi = new JBIContainer();
        jbi.setFlows(new Flow[] { new SedaFlow(), new JCAFlow() });
        jbi.setEmbedded(true);
        jbi.setUseMBeanServer(false);
View Full Code Here

        broker.setUseJmx(false);
        broker.setPersistent(false);
        String jmsURL = broker.addConnector("tcp://localhost:0").getUri().toString();
        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

        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

        broker.setUseJmx(false);
        broker.setPersistent(false);
        broker.addConnector(ACTIVEMQ_URL);
        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

public class StatelessJcaFlowTest extends StatelessJmsFlowTest {
   
    private TransactionManager tm;

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

        container.setCreateMBeanServer(false);
        container.setCreateJmxConnector(false);
        container.setRootDir("target/smx-data");
        container.setMonitorInstallationDirectory(false);
        container.setNamingContext(new InitialContext());
        container.setTransactionManager(new GeronimoPlatformTransactionManager());
    }
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.