Skip to content

Commit 6e56c27

Browse files
committed
Fix condition to delete exchange binding
(cherry picked from commit 8dff80c)
1 parent 30f1033 commit 6e56c27

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
@@ -1163,7 +1163,7 @@ boolean hasMoreConsumersOnQueue(Collection<RecordedConsumer> consumers, String q
11631163
}
11641164

11651165
Set<RecordedBinding> removeBindingsWithDestination(String s) {
1166-
return this.removeBindingsWithCondition(b -> b.getSource().equals(s));
1166+
return this.removeBindingsWithCondition(b -> b.getDestination().equals(s));
11671167
}
11681168

11691169
Set<RecordedBinding> removeBindingsWithSource(String s) {

0 commit comments

Comments
 (0)