ARTEMIS-6130 Clarify artemis check queue command options#6544
Conversation
|
Hi! Vitor here from the email thread that reported the issue. What about "Number of messages to browse or -1 to browse at most 1 message if one is immediately available. The check succeeds if no message is available."? |
|
@vitorpmoreira I added your clarification in brackets to avoid users thinking it is true also when the value is not -1 |
| private boolean up; | ||
|
|
||
| @Option(names = "--browse", description = "Number of the messages to browse or -1 to check that the queue is browsable.") | ||
| @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).") |
There was a problem hiding this comment.
@brusdev Is there a default value? perhaps you could specify (default = X) on the description).
There was a problem hiding this comment.
I confirm there is no default value. @clebertsuconic are you suggesting adding a default value?
| private Integer browse; | ||
|
|
||
| @Option(names = "--consume", description = "Number of the messages to consume or -1 to check that the queue is consumable.") | ||
| @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).") |


No description provided.