Skip to content

Commit dcb2af2

Browse files
committed
leave the value of nextPublishSeqNo unspecified when not in confirm mode
1 parent c26eab6 commit dcb2af2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/com/rabbitmq/client/Channel.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,9 @@ Queue.DeclareOk queueDeclare(String queue, boolean durable, boolean exclusive, b
688688
Confirm.SelectOk confirmSelect() throws IOException;
689689

690690
/**
691-
* Returns the sequence number of the next message to be published
692-
* that requires confirmation.
691+
* When in confirm mode, returns the sequence number of the next
692+
* message to be published.
693693
* @return the sequence number of the next message to be published
694-
* that requires confirmation. 0 if the channel is not in confirm mode.
695-
* not in confirm mode
696694
*/
697695
long getNextPublishSeqNo();
698696
}

0 commit comments

Comments
 (0)