diff --git a/activemq-core/src/test/java/org/apache/activemq/broker/Main.java b/activemq-core/src/test/java/org/apache/activemq/broker/Main.java index c36d86e656..d73b85000d 100644 --- a/activemq-core/src/test/java/org/apache/activemq/broker/Main.java +++ b/activemq-core/src/test/java/org/apache/activemq/broker/Main.java @@ -42,12 +42,13 @@ public final class Main { */ public static void main(String[] args) { try { - // TODO - this seems to break interceptors for some reason - // BrokerService broker = BrokerFactory.createBroker(new - // URI(brokerURI)); BrokerService broker = new BrokerService(); broker.setPersistent(false); + // String brokerDir = "xbean:...; + // System.setProperty("activemq.base", brokerDir); + // BrokerService broker = BrokerFactory.createBroker(new URI(brokerDir + "/activemq.xml")); + // for running on Java 5 without mx4j ManagementContext managementContext = broker.getManagementContext(); managementContext.setFindTigerMbeanServer(true);