activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r656601 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Date Thu, 15 May 2008 11:58:12 GMT
Author: rajdavies
Date: Thu May 15 04:58:12 2008
New Revision: 656601

URL: http://svn.apache.org/viewvc?rev=656601&view=rev
Log:
Fix for http://issues.apache.org/activemq/browse/AMQ-1709

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java?rev=656601&r1=656600&r2=656601&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Thu May 15 04:58:12 2008
@@ -1818,7 +1818,7 @@
      */
     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 @@
                 NetworkConnector connector = iter.next();
                 connector.setLocalUri(uri);
                 connector.setBrokerName(getBrokerName());
-                connector.setDurableDestinations(getBroker().getDurableDestinations());
+                connector.setDurableDestinations(durableDestinations);
                 connector.start();
             }
 



Mime
View raw message