mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a4b7157513
commit
2aa661d724
|
@ -1818,7 +1818,7 @@ public class BrokerService implements Service {
|
|||
*/
|
||||
protected void startAllConnectors() throws Exception {
|
||||
if (!isSlave()) {
|
||||
|
||||
Set<ActiveMQDestination> durableDestinations = getBroker().getDurableDestinations();
|
||||
List<TransportConnector> al = new ArrayList<TransportConnector>();
|
||||
|
||||
for (Iterator<TransportConnector> iter = getTransportConnectors().iterator(); iter.hasNext();) {
|
||||
|
@ -1843,7 +1843,7 @@ public class BrokerService implements Service {
|
|||
NetworkConnector connector = iter.next();
|
||||
connector.setLocalUri(uri);
|
||||
connector.setBrokerName(getBrokerName());
|
||||
connector.setDurableDestinations(getBroker().getDurableDestinations());
|
||||
connector.setDurableDestinations(durableDestinations);
|
||||
connector.start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue