This closes #1424
This commit is contained in:
commit
40534b29d6
|
@ -27,7 +27,7 @@ import org.apache.activemq.artemis.cli.commands.ActionContext;
|
|||
import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
|
||||
import org.apache.activemq.artemis.jms.client.ActiveMQDestination;
|
||||
|
||||
@Command(name = "browser", description = "It will send consume messages from an instance")
|
||||
@Command(name = "browser", description = "It will browse messages on an instance")
|
||||
public class Browse extends DestAbstract {
|
||||
|
||||
@Option(name = "--filter", description = "filter to be used with the consumer")
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.activemq.artemis.cli.commands.ActionContext;
|
|||
import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
|
||||
import org.apache.activemq.artemis.jms.client.ActiveMQDestination;
|
||||
|
||||
@Command(name = "consumer", description = "It will send consume messages from an instance")
|
||||
@Command(name = "consumer", description = "It will consume messages from an instance")
|
||||
public class Consumer extends DestAbstract {
|
||||
|
||||
@Option(name = "--durable", description = "It will use durable subscription in case of client")
|
||||
|
|
|
@ -21,7 +21,7 @@ import io.airlift.airline.Option;
|
|||
|
||||
public class DestAbstract extends ConnectionAbstract {
|
||||
|
||||
@Option(name = "--destination", description = "Destination to be used. it could be prefixed with queue:// or topic:: (Default: queue://TEST")
|
||||
@Option(name = "--destination", description = "Destination to be used. It can be prefixed with queue:// or topic:// (Default: queue://TEST)")
|
||||
String destination = "queue://TEST";
|
||||
|
||||
@Option(name = "--message-count", description = "Number of messages to act on (Default: 1000)")
|
||||
|
|
|
@ -36,7 +36,7 @@ public class Producer extends DestAbstract {
|
|||
@Option(name = "--message-size", description = "Size of each byteMessage (The producer will use byte message on this case)")
|
||||
int messageSize = 0;
|
||||
|
||||
@Option(name = "--text-size", description = "Size of each textNessage (The producer will use text message on this case)")
|
||||
@Option(name = "--text-size", description = "Size of each textMessage (The producer will use text message on this case)")
|
||||
int textMessageSize;
|
||||
|
||||
@Option(name = "--msgttl", description = "TTL for each message")
|
||||
|
|
Loading…
Reference in New Issue