mirror of https://github.com/apache/activemq.git
The default should be failover=false. We can't assume that normal configurations will use broker nodes that never fail.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
27a677f459
commit
257f16a0bb
|
@ -88,7 +88,7 @@ public class DiscoveryNetworkConnector extends NetworkConnector implements Disco
|
|||
}
|
||||
}
|
||||
|
||||
log.info("Establishing network connection between " + localURI + " and " + event.getBrokerName() + " at " + connectUri);
|
||||
log.info("Establishing network connection between from " + localURI + " to " + connectUri);
|
||||
|
||||
Transport localTransport;
|
||||
try {
|
||||
|
|
|
@ -16,9 +16,11 @@
|
|||
*/
|
||||
package org.apache.activemq.network;
|
||||
|
||||
import edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList;
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.activemq.broker.BrokerService;
|
||||
import org.apache.activemq.command.ActiveMQDestination;
|
||||
import org.apache.activemq.transport.Transport;
|
||||
import org.apache.activemq.transport.TransportFactory;
|
||||
|
@ -27,10 +29,7 @@ import org.apache.activemq.util.ServiceSupport;
|
|||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList;
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
|
@ -42,7 +41,7 @@ public abstract class NetworkConnector extends ServiceSupport {
|
|||
private String brokerName = "localhost";
|
||||
|
||||
private Set durableDestinations;
|
||||
protected boolean failover = true;
|
||||
protected boolean failover = false;
|
||||
private List excludedDestinations = new CopyOnWriteArrayList();
|
||||
private List dynamicallyIncludedDestinations = new CopyOnWriteArrayList();
|
||||
private List staticallyIncludedDestinations = new CopyOnWriteArrayList();
|
||||
|
|
Loading…
Reference in New Issue