Skip to content

Commit 8dff80c

Browse files
committed
Fix condition to delete exchange binding
1 parent b451798 commit 8dff80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rabbitmq/client/impl/recovery/AutorecoveringConnection.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ boolean hasMoreConsumersOnQueue(Collection<RecordedConsumer> consumers, String q
11641164
}
11651165

11661166
Set<RecordedBinding> removeBindingsWithDestination(String s) {
1167-
return this.removeBindingsWithCondition(b -> b.getSource().equals(s));
1167+
return this.removeBindingsWithCondition(b -> b.getDestination().equals(s));
11681168
}
11691169

11701170
Set<RecordedBinding> removeBindingsWithSource(String s) {

0 commit comments

Comments
 (0)