Package org.activecluster

Examples of org.activecluster.ClusterFactory


     * @param broker
     * @throws JBIException
     */
    public void init(Broker broker, String subType) throws JBIException {
        super.init(broker, subType);
        ClusterFactory fac = new ActiveMQClusterFactory();
        try {
            this.cluster = fac.createCluster(clusterDestination);
            this.cluster.addClusterListener(this);
            MessageConsumer consumer = this.cluster.createConsumer(cluster.getDestination());
            consumer.setMessageListener(this);
            consumer = this.cluster.createConsumer(cluster.getLocalNode().getDestination());
            consumer.setMessageListener(this);
View Full Code Here

TOP

Related Classes of org.activecluster.ClusterFactory

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.