
The doc of message is missing in zaqarclient. So this patch will add it and also remove the unused docs for other resources. Change-Id: I55c745a81226487292220edfb629ca4f7dfd95d7 Closes-Bug: #1893145 Signed-off-by: wanghao <sxmatch1986@gmail.com>
1.7 KiB
1.7 KiB
Health
For help on a specific openstack messaging message
command, enter:
$ openstack messaging message COMMAND -h/--help
The one command:
messaging message list
messaging message post
openstack messaging message list
usage: openstack messaging message list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--message-ids <message_ids>]
[--limit <limit>] [--echo]
[--include-claimed]
[--include-delayed]
[--client-id <client_id>]
<queue_name>
List all of the messages in a queue.
Positional arguments:
<queue_name>
-
Name of the queue.
openstack messaging message post
usage: openstack messaging message post [-h] [--client-id <client_id>]
<queue_name> <messages>
Post the messages to a queue.
Positional arguments:
<queue_name>
-
Name of the queue.
<messages>
-
messages. It should be json like. For example: '[{"body": "msg", "ttl": 60}]'