Skip to content

Commit 2edbad1

Browse files
committed
ARTEMIS-6130 Clarify artemis check queue command options
1 parent 0dc7dc3 commit 2edbad1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/check

artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/check/QueueCheck.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ public class QueueCheck extends CheckAbstract {
3737
@Option(names = "--up", description = "Check that the queue exists and is not paused. This check is executed by default if there are no other checks.")
3838
private boolean up;
3939

40-
@Option(names = "--browse", description = "Number of the messages to browse or -1 to check that the queue is browsable.")
40+
@Option(names = "--browse", description = "Number of the messages to browse or -1 to browse at most 1 message only if it is immediately available (succeeding also if no messages are available).")
4141
private Integer browse;
4242

43-
@Option(names = "--consume", description = "Number of the messages to consume or -1 to check that the queue is consumable.")
43+
@Option(names = "--consume", description = "Number of the messages to consume or -1 to consume at most 1 message only if it is immediately available (succeeding also if no messages are available).")
4444
private Integer consume;
4545

4646
@Option(names = "--produce", description = "Number of the messages to produce.")

0 commit comments

Comments
 (0)