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}]’