mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-4929 - remove BrokerService.supportFailoverSupport. This closes #60
This commit is contained in:
parent
ec9a92f6fc
commit
2852a8bdb1
|
@ -208,7 +208,6 @@ public class BrokerService implements Service {
|
|||
private boolean useLocalHostBrokerName;
|
||||
private final CountDownLatch stoppedLatch = new CountDownLatch(1);
|
||||
private final CountDownLatch startedLatch = new CountDownLatch(1);
|
||||
private boolean supportFailOver;
|
||||
private Broker regionBroker;
|
||||
private int producerSystemUsagePortion = 60;
|
||||
private int consumerSystemUsagePortion = 40;
|
||||
|
@ -1764,21 +1763,6 @@ public class BrokerService implements Service {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the supportFailOver
|
||||
*/
|
||||
public boolean isSupportFailOver() {
|
||||
return this.supportFailOver;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param supportFailOver
|
||||
* the supportFailOver to set
|
||||
*/
|
||||
public void setSupportFailOver(boolean supportFailOver) {
|
||||
this.supportFailOver = supportFailOver;
|
||||
}
|
||||
|
||||
/**
|
||||
* Looks up and lazily creates if necessary the destination for the given
|
||||
* JMS name
|
||||
|
|
|
@ -380,7 +380,7 @@ public class TransactionBroker extends BrokerFilter {
|
|||
|
||||
public synchronized void brokerServiceStarted() {
|
||||
super.brokerServiceStarted();
|
||||
if (getBrokerService().isSupportFailOver() && audit == null) {
|
||||
if (audit == null) {
|
||||
audit = new ActiveMQMessageAudit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue