Package org.exolab.jms.administration

Examples of org.exolab.jms.administration.JmsAdminServerIfc.addDestination()


     */
    public static void add(String url, String type, String name)
        throws Exception {
        JmsAdminServerIfc admin = AdminConnectionFactory.create(url);
        Boolean queue = (type.equals("queue")) ? Boolean.TRUE : Boolean.FALSE;
        if (!admin.addDestination(name, queue)) {
            System.err.println("Failed to add destination=" + name);
        }
        admin.close();
    }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.