Package org.objectweb.joram.client.jms.admin

Examples of org.objectweb.joram.client.jms.admin.ClusterTopic


   
    ictx.bind("topic0", topic0);
    ictx.bind("topic1", topic1);
    ictx.bind("topic2", topic2);

    ClusterTopic clusterTopic = new ClusterTopic();
    clusterTopic.addDestination("server0", topic0);
    clusterTopic.addDestination("server1", topic1);
    clusterTopic.addDestination("server2", topic2);
    clusterTopic.setFreeReading();
    clusterTopic.setFreeWriting();
    ictx.rebind("clusterTopic", clusterTopic);

    System.out.println("clusterTopic = " + clusterTopic);

    ictx.close();
View Full Code Here

TOP

Related Classes of org.objectweb.joram.client.jms.admin.ClusterTopic

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.