diff options
| author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-12-19 21:21:34 +0000 |
|---|---|---|
| committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-12-19 21:21:34 +0000 |
| commit | fe0585720245f022ef1941934fa725bd99fe1071 (patch) | |
| tree | fa26033d59326147d7521aada4aea1001ddb5ab1 /qpid/doc/book/src/Using-message-groups.xml | |
| parent | 8581b766bdd0fe06b128ea0f4fdf814435e618cb (diff) | |
| download | qpid-python-fe0585720245f022ef1941934fa725bd99fe1071.tar.gz | |
NO-JIRA: reformat examples in the docs to fit in PDF output.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1220953 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/doc/book/src/Using-message-groups.xml')
| -rw-r--r-- | qpid/doc/book/src/Using-message-groups.xml | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/qpid/doc/book/src/Using-message-groups.xml b/qpid/doc/book/src/Using-message-groups.xml index 13d3f40a0b..9b904d9f18 100644 --- a/qpid/doc/book/src/Using-message-groups.xml +++ b/qpid/doc/book/src/Using-message-groups.xml @@ -187,10 +187,28 @@ Message group support can be enabled on a queue using the <command>qpid-config</command> command line tool. The following options should be provided when adding a new queue: - <programlisting> - --group-header=<replaceable>header-name</replaceable> Enable message group support for this queue. Specify name of application header that holds the group identifier. - --shared-groups Enforce ordered message group consumption across multiple consumers. - </programlisting> + <table> + <title>qpid-config options for creating message group queues</title> + <tgroup cols="2"> + <thead> + <colspec colnum="1" colwidth="1*"/> + <colspec colnum="2" colwidth="3*"/> + <row> + <entry>Option</entry><entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry>--group-header=<replaceable>header-name</replaceable></entry> + <entry>Enable message group support for this queue. Specify name of application header that holds the group identifier.</entry> + </row> + <row> + <entry>--shared-groups</entry> + <entry>Enforce ordered message group consumption across multiple consumers.</entry> + </row> + </tbody> + </tgroup> + </table> </para> <para> Message group support may also be specified in the @@ -239,7 +257,7 @@ the key "GROUP_KEY". </para> <programlisting> - qpid-config add queue MyMsgQueue --group-header="GROUP_KEY" --shared-groups" +qpid-config add queue MyMsgQueue --group-header="GROUP_KEY" --shared-groups </programlisting> </example> <example> @@ -249,8 +267,11 @@ with the same configuration as the previous example. </para> <programlisting> - sender = session.createSender("MyMsgQueue; {create:always, delete:receiver, node: {x-declare: {arguments:" - " {'qpid.group_header_key':'GROUP_KEY', 'qpid.shared_msg_group':1}}}}") +sender = session.createSender("MyMsgQueue;" + " {create:always, delete:receiver," + " node: {x-declare: {arguments:" + " {'qpid.group_header_key':'GROUP_KEY'," + " 'qpid.shared_msg_group':1}}}}") </programlisting> </example> <section role="h3" id="usingmessagegroups-DefaultGroup"> @@ -262,7 +283,7 @@ <example> <title>Overriding the default message group identifier for the broker</title> <programlisting> - qpidd --default-msg-group "EMPTY-GROUP" +qpidd --default-msg-group "EMPTY-GROUP" </programlisting> </example> </para> |
