activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r436751 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/Main.java
Date Fri, 25 Aug 2006 10:41:38 GMT
Author: jstrachan
Date: Fri Aug 25 03:41:36 2006
New Revision: 436751

URL: http://svn.apache.org/viewvc?rev=436751&view=rev
Log:
add the UDP trace plugin which can be handy when testing stuff

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/Main.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/Main.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/Main.java?rev=436751&r1=436750&r2=436751&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/Main.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/Main.java
Fri Aug 25 03:41:36 2006
@@ -20,6 +20,7 @@
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.activemq.broker.BrokerPlugin;
 import org.apache.activemq.broker.BrokerService;
+import org.apache.activemq.broker.util.UDPTraceBrokerPlugin;
 import org.apache.activemq.broker.view.ConnectionDotFilePlugin;
 import org.apache.activemq.broker.view.DestinationDotFilePlugin;
 import org.apache.activemq.command.ActiveMQQueue;
@@ -52,7 +53,7 @@
             BrokerService broker = new BrokerService();
             broker.setPersistent(false);
             broker.setUseJmx(true);
-            broker.setPlugins(new BrokerPlugin[] { /*new DestinationDotFilePlugin(), */ new
ConnectionDotFilePlugin() });
+            broker.setPlugins(new BrokerPlugin[] { new ConnectionDotFilePlugin(), new UDPTraceBrokerPlugin()
});
             broker.addConnector("tcp://localhost:61616");
             broker.addConnector("stomp://localhost:61613");
             broker.start();



Mime
View raw message