File: message.rst

package info (click to toggle)
python-zaqarclient 4.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 824 kB
  • sloc: python: 4,417; makefile: 18; sh: 2
file content (62 lines) | stat: -rw-r--r-- 1,775 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Health
======

For help on a specific :command:`openstack messaging message` command, enter:

.. code-block:: console

   $ openstack messaging message COMMAND -h/--help

The one command:

.. code-block:: console

      messaging message list
      messaging message post

.. _openstack_messaging_message_list:

openstack messaging message list
--------------------------------

.. code-block:: console

   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:

openstack messaging message post
--------------------------------

.. code-block:: console

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