Skip to content

Commit caf5713

Browse files
author
Matthew Sackman
committed
Whoops, and clearer english
1 parent f7e98bb commit caf5713

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/com/rabbitmq/client/Consumer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ public interface Consumer {
5151

5252
/**
5353
* Called when the consumer is cancelled for reasons other than by a
54-
* basicCancel: e.g. the queue is deleted. See handleCancelOk for
55-
* notification of consumer cancellation due to basicCancel.
54+
* basicCancel: e.g. the queue has been deleted (either by this channel or
55+
* by any other channel). See handleCancelOk for notification of consumer
56+
* cancellation due to basicCancel.
5657
*
5758
* @throws IOException
5859
*/

src/com/rabbitmq/client/impl/ChannelN.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public void releaseChannelNumber() {
353353
ex,
354354
callback,
355355
m.getConsumerTag(),
356-
"handleCancelNotification");
356+
"handleCancel");
357357
}
358358
}
359359
return true;

0 commit comments

Comments
 (0)