Github user cshannon commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1807#discussion_r163305830
  
    --- Diff: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java
 ---
    @@ -532,7 +532,7 @@ public AddressInfo updateAddressInfo(SimpleString 
addressName,
        public AddressInfo removeAddressInfo(SimpleString address) throws 
Exception {
           synchronized (addressLock) {
              server.callBrokerPlugins(server.hasBrokerPlugins() ? plugin -> 
plugin.beforeRemoveAddress(address) : null);
    -         Bindings bindingsForAddress = getBindingsForAddress(address);
    +         final Bindings bindingsForAddress = getDirectBindings(address);
    --- End diff --
    
    The getDirectBindings() method just does an equals() call and compares 
address names to see if the match exactly (ie simple strings).  It's not doing 
a match so there is no wild card involved.


---

Reply via email to