mirror of https://github.com/apache/activemq.git
Backported fix for JDBC master/slave from trunk to 4.1 branch for AMQ-1236
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@533725 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16f7f2f9a2
commit
fb72e6cc72
|
@ -56,10 +56,8 @@ public class DefaultDatabaseLocker implements DatabaseLocker {
|
|||
while (true) {
|
||||
try {
|
||||
log.info("Attempting to acquire the exclusive lock to become the Master broker");
|
||||
boolean answer = statement.execute();
|
||||
if (answer) {
|
||||
break;
|
||||
}
|
||||
statement.execute();
|
||||
break;
|
||||
}
|
||||
catch (Exception e) {
|
||||
if (stopping) {
|
||||
|
|
Loading…
Reference in New Issue