From b3e315fcc21e2d96ab151fa4d2516bbdb3d49edf Mon Sep 17 00:00:00 2001 From: James Strachan Date: Wed, 1 Nov 2006 16:37:39 +0000 Subject: [PATCH] disabled the use of the CommandAgent by default to avoid causing the VM broker to keep around forever (since the broker itself creates a VM transport which avoids it ever being closed) git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@469972 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/activemq/broker/BrokerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java b/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java index 60ee1c0e26..36f10c0961 100644 --- a/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java @@ -119,7 +119,7 @@ public class BrokerService implements Service, Serializable { private List proxyConnectors = new CopyOnWriteArrayList(); private List registeredMBeanNames = new CopyOnWriteArrayList(); private List jmsConnectors = new CopyOnWriteArrayList(); - private Service[] services = new Service[] { new CommandAgent() }; + private Service[] services; private MasterConnector masterConnector; private String masterConnectorURI; private transient Thread shutdownHook;