activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r560274 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
Date Fri, 27 Jul 2007 15:29:52 GMT
Author: rajdavies
Date: Fri Jul 27 08:29:51 2007
New Revision: 560274

URL: http://svn.apache.org/viewvc?view=rev&rev=560274
Log:
No need to create destination twice when doing a destination lookup

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java?view=diff&rev=560274&r1=560273&r2=560274
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java
Fri Jul 27 08:29:51 2007
@@ -334,7 +334,7 @@
                     try {
                         
                         context.getBroker().addDestination(context,destination);
-                        dest = addDestination(context, destination);
+                        //dest = addDestination(context, destination);
                     }
                     catch (DestinationAlreadyExistsException e) {
                         // if the destination already exists then lets ignore this error



Mime
View raw message