From 956fe93bd2681d7b70dbd2a7645acef1ad5accff Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Fri, 27 Jul 2007 15:29:51 +0000 Subject: [PATCH] No need to create destination twice when doing a destination lookup git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@560274 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/broker/region/AbstractRegion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java b/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java index 3452c86689..d02f56f2ff 100755 --- a/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/region/AbstractRegion.java @@ -334,7 +334,7 @@ abstract public class AbstractRegion implements Region { 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