Skip to content

Commit 8e08039

Browse files
Make sure we don't pass destination for source and vice versa
Originally contributed by Rob Worsnop.
1 parent 1de47dc commit 8e08039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/rabbitmq/client/impl/recovery/RecordedExchangeBinding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ public RecordedExchangeBinding(AutorecoveringChannel channel) {
1111
}
1212

1313
public void recover() throws IOException {
14-
this.channel.getDelegate().exchangeBind(this.source, this.destination, this.routingKey, this.arguments);
14+
this.channel.getDelegate().exchangeBind(this.destination, this.source, this.routingKey, this.arguments);
1515
}
1616
}

0 commit comments

Comments
 (0)