mirror of https://github.com/apache/activemq.git
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:
parent
6a928d5cfe
commit
956fe93bd2
|
@ -334,7 +334,7 @@ abstract public class AbstractRegion implements Region {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
context.getBroker().addDestination(context,destination);
|
context.getBroker().addDestination(context,destination);
|
||||||
dest = addDestination(context, destination);
|
//dest = addDestination(context, destination);
|
||||||
}
|
}
|
||||||
catch (DestinationAlreadyExistsException e) {
|
catch (DestinationAlreadyExistsException e) {
|
||||||
// if the destination already exists then lets ignore this error
|
// if the destination already exists then lets ignore this error
|
||||||
|
|
Loading…
Reference in New Issue