mirror of https://github.com/apache/activemq.git
allow folks to serialize the broker service if they really need to
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f7ab76817
commit
b76530740e
|
@ -18,6 +18,7 @@ package org.apache.activemq.broker;
|
|||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -79,10 +80,12 @@ import edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicBoolean;
|
|||
*
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class BrokerService implements Service {
|
||||
public class BrokerService implements Service, Serializable {
|
||||
|
||||
public static final String DEFAULT_PORT = "61616";
|
||||
|
||||
private static final Log log = LogFactory.getLog(BrokerService.class);
|
||||
private static final long serialVersionUID = 7353129142305630237L;
|
||||
|
||||
private boolean useJmx = true;
|
||||
private boolean persistent = true;
|
||||
|
@ -106,7 +109,7 @@ public class BrokerService implements Service {
|
|||
private List registeredMBeanNames = new CopyOnWriteArrayList();
|
||||
private List jmsConnectors = new CopyOnWriteArrayList();
|
||||
private MasterConnector masterConnector;
|
||||
private Thread shutdownHook;
|
||||
private transient Thread shutdownHook;
|
||||
private String[] transportConnectorURIs;
|
||||
private String[] networkConnectorURIs;
|
||||
private String[] proxyConnectorURIs;
|
||||
|
|
Loading…
Reference in New Issue