| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.docbook.org/xml/4.5/docbookx.dtd" |
| 3 | [ |
| 4 | <!ENTITY date SYSTEM "man-date.ent" > |
| 5 | ] |
| 6 | > |
| 7 | <refentry lang="en"> |
| 8 | <refentryinfo> |
| 9 | <productname>RabbitMQ C Client</productname> |
| 10 | <authorgroup> |
| 11 | <corpauthor>The RabbitMQ Team <<ulink url="mailto:[email protected]"><email>[email protected]</email></ulink>></corpauthor> |
| 12 | </authorgroup> |
| 13 | <date>&date;</date> |
| 14 | </refentryinfo> |
| 15 | |
| 16 | <refmeta> |
| 17 | <refentrytitle>librabbitmq-tools</refentrytitle> |
| 18 | <manvolnum>7</manvolnum> |
| 19 | <refmiscinfo class="manual">RabbitMQ C Client</refmiscinfo> |
| 20 | </refmeta> |
| 21 | |
| 22 | <refnamediv> |
| 23 | <refname>librabbitmq-tools</refname> |
| 24 | <refpurpose>Command line AMQP tools</refpurpose> |
| 25 | </refnamediv> |
| 26 | |
| 27 | <refsect1> |
| 28 | <title>Description</title> |
| 29 | <para> |
| 30 | A set of command line AMQP tools based on <systemitem |
| 31 | class="library">librabbitmq</systemitem>. This page |
| 32 | describes common options and conventions used by all of |
| 33 | the tools. |
| 34 | </para> |
| 35 | </refsect1> |
| 36 | |
| 37 | <refsect1> |
| 38 | <title>Common Options</title> |
| 39 | <variablelist> |
| 40 | <varlistentry> |
| 41 | <term><option>-u</option></term> |
| 42 | <term><option>--url</option>=<replaceable class="parameter">amqp://...</replaceable></term> |
| 43 | <listitem> |
| 44 | <para> |
| 45 | The AMQP URL to connect to. Takes precedence |
| 46 | over the <envar>AMQP_URL</envar> environment |
| 47 | variable. If neither is given, the default |
| 48 | connection parameters are used. |
| 49 | </para> |
| 50 | </listitem> |
| 51 | </varlistentry> |
| 52 | <varlistentry> |
| 53 | <term><option>-s</option></term> |
| 54 | <term><option>--server</option>=<replaceable class="parameter">hostname:port</replaceable></term> |
| 55 | <listitem> |
| 56 | <para> |
| 57 | The host name (or address) to connect to. |
| 58 | Defaults to localhost. The port number may |
| 59 | also be specified; if omitted, it defaults to |
| 60 | the standard AMQP port number (5672). |
| 61 | </para> |
| 62 | </listitem> |
| 63 | </varlistentry> |
| 64 | <varlistentry> |
| 65 | <term><option>--vhost</option>=<replaceable class="parameter">vhost</replaceable></term> |
| 66 | <listitem> |
| 67 | <para> |
| 68 | The AMQP vhost to specify when connecting. |
| 69 | Defaults to <literal>/</literal>. |
| 70 | </para> |
| 71 | </listitem> |
| 72 | </varlistentry> |
| 73 | <varlistentry> |
| 74 | <term><option>--username</option>=<replaceable class="parameter">username</replaceable></term> |
| 75 | <listitem> |
| 76 | <para> |
| 77 | The username to authenticate to the AMQP server with. Defaults to <literal>guest</literal>. |
| 78 | </para> |
| 79 | </listitem> |
| 80 | </varlistentry> |
| 81 | <varlistentry> |
| 82 | <term><option>--password</option>=<replaceable class="parameter">password</replaceable></term> |
| 83 | <listitem> |
| 84 | <para> |
| 85 | The password to authenticate to the AMQP server with. Defaults to <literal>guest</literal>. |
| 86 | </para> |
| 87 | </listitem> |
| 88 | </varlistentry> |
| 89 | </variablelist> |
| 90 | </refsect1> |
| 91 | |
| 92 | <refsect1> |
| 93 | <title>Environment Variables</title> |
| 94 | <variablelist> |
| 95 | <varlistentry> |
| 96 | <term><envar>AMQP_URL</envar></term> |
| 97 | <listitem> |
| 98 | <para> |
| 99 | Specifies the default AMQP URL to connect to. |
| 100 | Ignored if any connection option |
| 101 | (<option>--url</option>, |
| 102 | <option>--server</option>, |
| 103 | <option>--port</option>, |
| 104 | <option>--username</option>, |
| 105 | <option>--password</option>, or |
| 106 | <option>--vhost</option>) is given on the |
| 107 | command line. |
| 108 | </para> |
| 109 | </listitem> |
| 110 | </varlistentry> |
| 111 | </variablelist> |
| 112 | </refsect1> |
| 113 | |
| 114 | <refsect1> |
| 115 | <title>See also</title> |
| 116 | <para> |
| 117 | <simplelist type='inline'> |
| 118 | <member><citerefentry><refentrytitle>amqp-publish</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 119 | <member><citerefentry><refentrytitle>amqp-consume</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 120 | <member><citerefentry><refentrytitle>amqp-get</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 121 | </simplelist> |
| 122 | </para> |
| 123 | </refsect1> |
| 124 | </refentry> |