svn commit: r560274 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r560274 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java

rajdavies-2
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