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
This commit is contained in:
Robert Davies 2007-07-27 15:29:51 +00:00
parent 6a928d5cfe
commit 956fe93bd2
1 changed files with 1 additions and 1 deletions

View File

@ -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