https://issues.apache.org/jira/browse/AMQ-4929 - remove BrokerService.supportFailoverSupport. This closes #60

This commit is contained in:
Dejan Bosanac 2015-04-14 13:58:43 +02:00
parent ec9a92f6fc
commit 2852a8bdb1
2 changed files with 1 additions and 17 deletions

View File

@ -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

View File

@ -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();
}
}