Skip to content

Commit

Permalink
Updated readme for 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
northlander committed Apr 12, 2016
1 parent 6b8e2b1 commit 37b8a91
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,44 +11,50 @@ Used to send, browse and put messages on queues.
```
usage: java -jar a-<version>-with-dependencies.jar [-A] [-a] [-b <arg>]
[-C <arg>] [-c <arg>] [-e <arg>] [-F <arg>] [-f <arg>] [-g] [-H
<property=value>] [-i <arg>] [-J <arg>] [-j] [-l] [-M <arg>] [-n]
[-O] [-o <arg>] [-P <arg>] [-p <arg>] [-r <arg>] [-s <arg>] [-t
<arg>] [-U <arg>] [-w <arg>]
<property=value>] [-I <property=value>] [-i <arg>] [-J <arg>] [-j]
[-L <property=value>] [-l] [-M <arg>] [-n] [-O] [-o <arg>] [-P
<arg>] [-p <arg>] [-r <arg>] [-s <arg>] [-t <arg>] [-U <arg>] [-w
<arg>]
-A,--amqp Set protocol to AMQP. Defaults to OpenWire
-a,--artemis-core Set protocol to ActiveMQ Artemis Core. Defaults
to OpenWire
-b,--broker <arg> URL to broker. defaults to:
tcp://localhost:61616
-c,--count <arg> A number of messages to browse,get or put (put
will put the same message <count> times). 0
means all messages.
-C,--copy-queue <arg> Copy all messages from this to target. Limited
by maxBrowsePageSize in broker settings
(default 400).
-c,--count <arg> A number of messages to browse,get,move or put
(put will put the same message <count> times).
0 means all messages.
-e,--encoding <arg> Encoding of input file data. Default UTF-8
-f,--find <arg> Search for messages in queue with this value in
payload. Use with browse.
-F,--jndi-cf-name <arg> Specify JNDI name for ConnectionFactory.
Defaults to connectionFactory. Use with -J
-f,--find <arg> Search for messages in queue with this value in
payload. Use with browse.
-g,--get Get a message from destination
-H <property=value> use value for given property. Can be used
several times.
-I <property=value> use value for given property. Can be used
several times.
-i,--priority <arg> sets JMSPriority
-j,--jms-headers Print JMS headers
-J,--jndi <arg> Connect via JNDI. Overrides -b and -A options.
Specify context file on classpath
-l,--list-queues List queues and topics on broker (OpenWire only)
-j,--jms-headers Print JMS headers
-L <property=value> use value for given property. Can be used
several times.
-l,--list-queues List queues and topics on broker (OpenWire
only)
-M,--move-queue <arg> Move all messages from this to target
-n,--non-persistent Set message to non persistent.
-O,--openwire Set protocol to OpenWire. This is default
protocol
-o,--output <arg> file to write payload to. If multiple messages,
a -1.<ext> will be added to the file.
BytesMessage will be written as-is, TextMessage
will be written in UTF-8
-O,--openwire Set protocol to OpenWire. This is default
protocol
-P,--pass <arg> Password to connect to broker
-p,--put <arg> Put a message. Specify data. if starts with @,
a file is assumed and loaded
-P,--pass <arg> Password to connect to broker
-r,--reply-to <arg> Set reply to destination, i.e. queue:reply
-s,--selector <arg> Browse or get with selector
-t,--type <arg> Message type to put, [bytes, text] - defaults
Expand Down

0 comments on commit 37b8a91

Please sign in to comment.