Skip to content

Commit 212ce20

Browse files
committed
Confirm auto_delete_addresses_with_shared_messages
1 parent 9f7ebd6 commit 212ce20

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl

artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,8 @@ private void deleteDuplicateCache(SimpleString address) throws Exception {
10681068
@Override
10691069
public boolean isAddressBound(final SimpleString address) throws Exception {
10701070
Collection<Binding> bindings = getDirectBindings(address);
1071-
return bindings != null && !bindings.isEmpty();
1071+
1072+
return (bindings != null && !bindings.isEmpty());// || pagingManager.getPageStore(address).getAddressSize() > 0;
10721073
}
10731074

10741075
@Override

0 commit comments

Comments
 (0)