Skip to content

Commit f85def5

Browse files
author
Steve Powell
committed
Minor updates to javadoc in light of threading changes.
1 parent 4492aba commit f85def5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/com/rabbitmq/client/Channel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
617617

618618
/**
619619
* Start a consumer. Calls the consumer's {@link Consumer#handleConsumeOk}
620-
* method before returning.
620+
* method.
621621
* @param queue the name of the queue
622622
* @param autoAck true if the server should consider messages
623623
* acknowledged once delivered; false if the server should expect
@@ -636,7 +636,7 @@ void basicNack(long deliveryTag, boolean multiple, boolean requeue)
636636

637637
/**
638638
* Cancel a consumer. Calls the consumer's {@link Consumer#handleCancelOk}
639-
* method before returning.
639+
* method.
640640
* @param consumerTag a client- or server-generated consumer tag to establish context
641641
* @throws java.io.IOException if an error is encountered
642642
* @see com.rabbitmq.client.AMQP.Basic.Cancel

src/com/rabbitmq/client/Consumer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
*/
3939
public interface Consumer {
4040
/**
41-
* Called when the consumer is registered by a call to
42-
* {@link Channel#basicConsume(String, boolean, String, boolean, boolean, java.util.Map, Consumer) Channel.basicConsume}.
41+
* Called when the consumer is registered by a call to any of the
42+
* {@link Channel#basicConsume} methods.
4343
* @param consumerTag the <i>consumer tag</i> associated with the consumer
4444
*/
4545
void handleConsumeOk(String consumerTag);

0 commit comments

Comments
 (0)