diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2013-03-07 22:30:15 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2013-03-07 22:30:15 +0000 |
commit | 82cc043bb83d7c0f1cff21aeb4a9d62ea0d136d2 (patch) | |
tree | cd25a77b9364b6e2f1ff816bd8c2e2b7f8768899 | |
parent | c342bd0353e1a7a97c3a317bc334871be8a72446 (diff) | |
download | qpid-python-82cc043bb83d7c0f1cff21aeb4a9d62ea0d136d2.tar.gz |
QPID-4274 Applied the same fix when an exchange is deleted as the same
situation could arise if the exchange gets deleted by a receiver or a
producer.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454135 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java index f232847d23..e2cfe0e27f 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java +++ b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java @@ -1591,6 +1591,7 @@ public class AMQSession_0_10 extends AMQSession<BasicMessageConsumer_0_10, Basic if (isExchangeExist(dest,false)) { getQpidSession().exchangeDelete(dest.getAddressName()); + dest.setAddressResolved(0); } } else |