Package org.apache.activemq.broker.util

Examples of org.apache.activemq.broker.util.LoggingBrokerPlugin


        logger.getRootLogger().addAppender(appender);

        try {

            BrokerService broker = new BrokerService();
            LoggingBrokerPlugin loggingBrokerPlugin = new LoggingBrokerPlugin();
            loggingBrokerPlugin.setPerDestinationLogger(true);
            loggingBrokerPlugin.setLogAll(true);
            broker.setPlugins(new LoggingBrokerPlugin[]{loggingBrokerPlugin});
            broker.start();


            Connection connection = new ActiveMQConnectionFactory(broker.getVmConnectorURI()).createConnection();
View Full Code Here

TOP

Related Classes of org.apache.activemq.broker.util.LoggingBrokerPlugin

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.