Package org.apache.servicemix.jbi.cluster.requestor

Examples of org.apache.servicemix.jbi.cluster.requestor.AbstractPollingRequestorPool$Requestor


        return nmr;
    }

    protected ClusterEngine createCluster(NMR nmr, String name, Transacted transacted, boolean rollbackOnErrors) throws Exception {
        ClusterEngine cluster = new ClusterEngine();
        AbstractPollingRequestorPool pool = createPool();
        pool.setDestinationName("destination");
        pool.setConnectionFactory(connectionFactory);
        pool.setTransactionManager(transactionManager);
        pool.setTransacted(transacted);
        pool.setAutoStartup(false);
        pool.setTaskExecutor(executor);
        pool.afterPropertiesSet();
        cluster.setPool(pool);
        cluster.setName(name);
        cluster.setRollbackOnErrors(rollbackOnErrors);
        nmr.getEndpointRegistry().register(cluster,
                ServiceHelper.createMap(Endpoint.NAME, name));
View Full Code Here


        return nmr;
    }

    protected ClusterEngine createCluster(NMR nmr, String name, Transacted transacted, boolean rollbackOnErrors) throws Exception {
        ClusterEngine cluster = new ClusterEngine();
        AbstractPollingRequestorPool pool = createPool();
        pool.setDestinationName("destination");
        pool.setConnectionFactory(connectionFactory);
        pool.setTransactionManager(transactionManager);
        pool.setTransacted(transacted);
        pool.setAutoStartup(false);
        pool.setTaskExecutor(executor);
        pool.afterPropertiesSet();
        cluster.setPool(pool);
        cluster.setName(name);
        cluster.setRollbackOnErrors(rollbackOnErrors);
        nmr.getEndpointRegistry().register(cluster,
                ServiceHelper.createMap(Endpoint.NAME, name));
View Full Code Here

TOP

Related Classes of org.apache.servicemix.jbi.cluster.requestor.AbstractPollingRequestorPool$Requestor

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.