Published site with updates for qpid-dispatch-0.6.1
Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/48fa0554 Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/48fa0554 Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/48fa0554 Branch: refs/heads/asf-site Commit: 48fa055401095cb616e106fb5228e1b93c5fe826 Parents: bb14d8e Author: Ted Ross <[email protected]> Authored: Mon Aug 15 17:25:53 2016 -0400 Committer: Ted Ross <[email protected]> Committed: Mon Aug 15 17:25:53 2016 -0400 ---------------------------------------------------------------------- content/components/dispatch-router/index.html | 14 +- content/documentation.html | 2 +- content/download.html | 6 +- content/releases/index.html | 4 +- content/releases/qpid-dispatch-0.1/index.html | 2 +- content/releases/qpid-dispatch-0.2/index.html | 2 +- content/releases/qpid-dispatch-0.3/index.html | 2 +- content/releases/qpid-dispatch-0.4/index.html | 2 +- content/releases/qpid-dispatch-0.5/index.html | 2 +- content/releases/qpid-dispatch-0.6.0/index.html | 2 +- .../_images/console_charts.png | Bin 0 -> 70070 bytes .../_images/console_entity.png | Bin 0 -> 69319 bytes .../_images/console_login.png | Bin 0 -> 39915 bytes .../_images/console_overview.png | Bin 0 -> 87960 bytes .../_images/console_schema.png | Bin 0 -> 68025 bytes .../_images/console_topology.png | Bin 0 -> 67338 bytes .../qpid-dispatch-0.6.1/book/addressing.html | 271 +++++ .../qpid-dispatch-0.6.1/book/amqp-mapping.html | 358 +++++++ .../qpid-dispatch-0.6.1/book/auto_links.html | 357 ++++++ .../qpid-dispatch-0.6.1/book/basic_usage.html | 310 ++++++ .../releases/qpid-dispatch-0.6.1/book/book.html | 226 ++++ .../book/client_compatibility.html | 177 +++ .../qpid-dispatch-0.6.1/book/console.html | 169 +++ .../book/console_installation.html | 184 ++++ .../book/console_operation.html | 181 ++++ .../book/console_overview.html | 153 +++ .../book/default_config.html | 160 +++ .../qpid-dispatch-0.6.1/book/introduction.html | 242 +++++ .../qpid-dispatch-0.6.1/book/link_routing.html | 275 +++++ .../qpid-dispatch-0.6.1/book/schema.html | 1012 ++++++++++++++++++ .../book/technical_details.html | 212 ++++ .../qpid-dispatch-0.6.1/book/tools.html | 220 ++++ .../qpid-dispatch-0.6.1/book/using.html | 176 +++ content/releases/qpid-dispatch-0.6.1/index.html | 206 ++++ .../qpid-dispatch-0.6.1/man/qdmanage.html | 283 +++++ .../qpid-dispatch-0.6.1/man/qdrouterd.conf.html | 549 ++++++++++ .../qpid-dispatch-0.6.1/man/qdrouterd.html | 187 ++++ .../qpid-dispatch-0.6.1/man/qdstat.html | 417 ++++++++ .../qpid-dispatch-0.6.1/release-notes.html | 176 +++ .../releases/qpid-dispatch-master/index.html | 2 +- .../_images/console_charts.png | Bin 0 -> 70070 bytes .../_images/console_entity.png | Bin 0 -> 69319 bytes .../_images/console_login.png | Bin 0 -> 39915 bytes .../_images/console_overview.png | Bin 0 -> 87960 bytes .../_images/console_schema.png | Bin 0 -> 68025 bytes .../_images/console_topology.png | Bin 0 -> 67338 bytes .../qpid-dispatch-0.6.1/book/addressing.html.in | 127 +++ .../book/amqp-mapping.html.in | 214 ++++ .../qpid-dispatch-0.6.1/book/auto_links.html.in | 213 ++++ .../book/basic_usage.html.in | 166 +++ .../qpid-dispatch-0.6.1/book/book.html.in | 82 ++ .../book/client_compatibility.html.in | 33 + .../qpid-dispatch-0.6.1/book/console.html.in | 25 + .../book/console_installation.html.in | 40 + .../book/console_operation.html.in | 37 + .../book/console_overview.html.in | 9 + .../book/default_config.html.in | 16 + .../book/introduction.html.in | 98 ++ .../book/link_routing.html.in | 131 +++ .../qpid-dispatch-0.6.1/book/schema.html.in | 868 +++++++++++++++ .../book/technical_details.html.in | 68 ++ .../qpid-dispatch-0.6.1/book/tools.html.in | 76 ++ .../qpid-dispatch-0.6.1/book/using.html.in | 32 + input/releases/qpid-dispatch-0.6.1/index.md | 66 ++ .../qpid-dispatch-0.6.1/man/qdmanage.html.in | 139 +++ .../man/qdrouterd.conf.html.in | 405 +++++++ .../qpid-dispatch-0.6.1/man/qdrouterd.html.in | 43 + .../qpid-dispatch-0.6.1/man/qdstat.html.in | 273 +++++ .../qpid-dispatch-0.6.1/release-notes.md | 46 + 69 files changed, 9728 insertions(+), 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/components/dispatch-router/index.html ---------------------------------------------------------------------- diff --git a/content/components/dispatch-router/index.html b/content/components/dispatch-router/index.html index f0a7183..df51591 100644 --- a/content/components/dispatch-router/index.html +++ b/content/components/dispatch-router/index.html @@ -145,8 +145,8 @@ they be clients, brokers or other AMQP-enabled services. More about <div class="column"> <ul> -<li><a href="/releases/qpid-dispatch-0.6.0/book/book.html">Dispatch router book</a></li> -<li><a href="https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;a=blob_plain;f=README;hb=0.6.0">Installing Qpid Dispatch</a></li> +<li><a href="/releases/qpid-dispatch-0.6.1/book/book.html">Dispatch router book</a></li> +<li><a href="https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;a=blob_plain;f=README;hb=0.6.1">Installing Qpid Dispatch</a></li> </ul> </div> @@ -154,10 +154,10 @@ they be clients, brokers or other AMQP-enabled services. More about <div class="column"> <ul> -<li><a href="/releases/qpid-dispatch-0.6.0/man/qdrouterd.html">qdrouterd</a> - Router daemon</li> -<li><a href="/releases/qpid-dispatch-0.6.0/man/qdrouterd.conf.html">qdrouterd.conf</a> - Daemon configuration</li> -<li><a href="/releases/qpid-dispatch-0.6.0/man/qdstat.html">qdstat</a> - Get router statistics</li> -<li><a href="/releases/qpid-dispatch-0.6.0/man/qdmanage.html">qdmanage</a> - Manage the router</li> +<li><a href="/releases/qpid-dispatch-0.6.1/man/qdrouterd.html">qdrouterd</a> - Router daemon</li> +<li><a href="/releases/qpid-dispatch-0.6.1/man/qdrouterd.conf.html">qdrouterd.conf</a> - Daemon configuration</li> +<li><a href="/releases/qpid-dispatch-0.6.1/man/qdstat.html">qdstat</a> - Get router statistics</li> +<li><a href="/releases/qpid-dispatch-0.6.1/man/qdmanage.html">qdmanage</a> - Manage the router</li> </ul> </div> @@ -171,7 +171,7 @@ they be clients, brokers or other AMQP-enabled services. More about <h2 id="releases">Releases</h2> <ul> -<li><a href="/releases/qpid-dispatch-0.6.0">Qpid Dispatch 0.6.0</a></li> +<li><a href="/releases/qpid-dispatch-0.6.1">Qpid Dispatch 0.6.1</a></li> <li><a href="/releases/index.html#past-releases">Past releases</a></li> <li><a href="/releases/qpid-dispatch-master/index.html">Work in progress</a></li> </ul> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/documentation.html ---------------------------------------------------------------------- diff --git a/content/documentation.html b/content/documentation.html index d729b4b..e95cc6c 100644 --- a/content/documentation.html +++ b/content/documentation.html @@ -203,7 +203,7 @@ You can find older versions with our <ul> <li><a href="/components/dispatch-router/index.html">Overview</a></li> -<li><a href="/releases/qpid-dispatch-0.6.0/book/book.html">Dispatch router book</a></li> +<li><a href="/releases/qpid-dispatch-0.6.1/book/book.html">Dispatch router book</a></li> </ul> </section> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/download.html ---------------------------------------------------------------------- diff --git a/content/download.html b/content/download.html index 3291220..e620a95 100644 --- a/content/download.html +++ b/content/download.html @@ -121,7 +121,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> <p>Qpid's source artefacts are produced as part of our community release process. The downloads on this page are from our current releases, <a href="/releases/qpid-proton-0.13.1">Qpid Proton 0.13.1</a>, -<a href="/releases/qpid-dispatch-0.6.0">Qpid Dispatch 0.6.0</a>, <a href="/releases/qpid-jms-0.10.0">Qpid JMS 0.10.0</a>, <a href="/releases/qpid-java-6.0.4">Qpid for Java 6.0.4</a> and <a href="/releases/qpid-cpp-0.34">Qpid C++ 0.34</a>. You can also see our +<a href="/releases/qpid-dispatch-0.6.1">Qpid Dispatch 0.6.1</a>, <a href="/releases/qpid-jms-0.10.0">Qpid JMS 0.10.0</a>, <a href="/releases/qpid-java-6.0.4">Qpid for Java 6.0.4</a> and <a href="/releases/qpid-cpp-0.34">Qpid C++ 0.34</a>. You can also see our <a href="/releases/index.html#past-releases">past releases</a>.</p> <p>It is important to <a href="#verify-what-you-download">verify the integrity</a> of the files you download.</p> @@ -193,8 +193,8 @@ process. The downloads on this page are from our current releases, <a href="/rel </tr> <tr> <td><a href="/components/dispatch-router/index.html">Dispatch router</a></td> - <td><a href="http://www.apache.org/dyn/closer.lua/qpid/dispatch/0.6.0/qpid-dispatch-0.6.0.tar.gz">qpid-dispatch-0.6.0.tar.gz</a></td> - <td><a href="http://www.apache.org/dist/qpid/dispatch/0.6.0/qpid-dispatch-0.6.0.tar.gz.asc">ASC</a>, <a href="http://www.apache.org/dist/qpid/dispatch/0.6.0/qpid-dispatch-0.6.0.tar.gz.sha1">SHA1</a></td> + <td><a href="http://www.apache.org/dyn/closer.lua/qpid/dispatch/0.6.1/qpid-dispatch-0.6.1.tar.gz">qpid-dispatch-0.6.1.tar.gz</a></td> + <td><a href="http://www.apache.org/dist/qpid/dispatch/0.6.1/qpid-dispatch-0.6.1.tar.gz.asc">ASC</a>, <a href="http://www.apache.org/dist/qpid/dispatch/0.6.1/qpid-dispatch-0.6.1.tar.gz.sha1">SHA1</a></td> </tr> </tbody> </table> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/index.html ---------------------------------------------------------------------- diff --git a/content/releases/index.html b/content/releases/index.html index e4b3db5..aa0a0b9 100644 --- a/content/releases/index.html +++ b/content/releases/index.html @@ -127,7 +127,7 @@ the <li><a href="qpid-proton-0.13.1/index.html">Qpid Proton 0.13.1</a>, July 2016</li> <li><a href="qpid-jms-0.10.0/index.html">Qpid JMS 0.10.0</a>, July 2016</li> <li><a href="qpid-java-6.0.4/index.html">Qpid for Java 6.0.4</a>, July 2016</li> -<li><a href="qpid-dispatch-0.6.0/index.html">Qpid Dispatch 0.6.0</a>, June 2016</li> +<li><a href="qpid-dispatch-0.6.1/index.html">Qpid Dispatch 0.6.1</a>, August 2016</li> <li><a href="qpid-cpp-0.34/index.html">Qpid C++ 0.34</a>, June 2015</li> <li><a href="qpid-0.32/index.html">Qpid 0.32</a>, March 2015</li> </ul> @@ -137,6 +137,7 @@ the <div class="two-column"> <ul> +<li><a href="qpid-dispatch-0.6.0/index.html">Qpid Dispatch 0.6.0</a>, June 2016</li> <li><a href="qpid-proton-0.13.0/index.html">Qpid Proton 0.13.0</a>, June 2016</li> <li><a href="qpid-java-6.0.3/index.html">Qpid for Java 6.0.3</a>, May 2016</li> <li><a href="qpid-jms-0.9.0/index.html">Qpid JMS 0.9.0</a>, April 2016</li> @@ -154,7 +155,6 @@ the <li><a href="qpid-dispatch-0.5/index.html">Qpid Dispatch 0.5</a>, September 2015</li> <li><a href="qpid-proton-0.10/index.html">Qpid Proton 0.10</a>, August 2015</li> <li><a href="qpid-jms-0.5.0/index.html">Qpid JMS 0.5.0</a>, August 2015</li> -<li><a href="qpid-dispatch-0.5/index.html">Qpid Dispatch 0.5</a>, September 2015</li> <li><a href="qpid-dispatch-0.4/index.html">Qpid Dispatch 0.4</a>, April 2015</li> <li><a href="qpid-jms-0.4.0/index.html">Qpid JMS 0.4.0</a>, August 2015</li> <li><a href="qpid-jms-0.3.0/index.html">Qpid JMS 0.3.0</a>, June 2015</li> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.1/index.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.1/index.html b/content/releases/qpid-dispatch-0.1/index.html index bd57c3f..c75d2bc 100644 --- a/content/releases/qpid-dispatch-0.1/index.html +++ b/content/releases/qpid-dispatch-0.1/index.html @@ -116,7 +116,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> <div id="-middle-content"> <script type="text/javascript"> _deferredFunctions.push(function() { - if ("0.1" === "0.6.0") { + if ("0.1" === "0.6.1") { _modifyCurrentReleaseLinks(); } }); http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.2/index.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.2/index.html b/content/releases/qpid-dispatch-0.2/index.html index 7fdc340..68929a0 100644 --- a/content/releases/qpid-dispatch-0.2/index.html +++ b/content/releases/qpid-dispatch-0.2/index.html @@ -116,7 +116,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> <div id="-middle-content"> <script type="text/javascript"> _deferredFunctions.push(function() { - if ("0.2" === "0.6.0") { + if ("0.2" === "0.6.1") { _modifyCurrentReleaseLinks(); } }); http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.3/index.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.3/index.html b/content/releases/qpid-dispatch-0.3/index.html index b081cd9..f21430e 100644 --- a/content/releases/qpid-dispatch-0.3/index.html +++ b/content/releases/qpid-dispatch-0.3/index.html @@ -116,7 +116,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> <div id="-middle-content"> <script type="text/javascript"> _deferredFunctions.push(function() { - if ("0.3" === "0.6.0") { + if ("0.3" === "0.6.1") { _modifyCurrentReleaseLinks(); } }); http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.4/index.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.4/index.html b/content/releases/qpid-dispatch-0.4/index.html index 2bd04c8..f4d339e 100644 --- a/content/releases/qpid-dispatch-0.4/index.html +++ b/content/releases/qpid-dispatch-0.4/index.html @@ -116,7 +116,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> <div id="-middle-content"> <script type="text/javascript"> _deferredFunctions.push(function() { - if ("0.4" === "0.6.0") { + if ("0.4" === "0.6.1") { _modifyCurrentReleaseLinks(); } }); http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.5/index.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.5/index.html b/content/releases/qpid-dispatch-0.5/index.html index 4bde7f8..eb15a80 100644 --- a/content/releases/qpid-dispatch-0.5/index.html +++ b/content/releases/qpid-dispatch-0.5/index.html @@ -171,7 +171,7 @@ the files you download.</p> <script type="text/javascript"> _deferredFunctions.push(function() { - if ("0.5" === "0.6.0") { + if ("0.5" === "0.6.1") { _modifyCurrentReleaseLinks(); } }); http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.0/index.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.0/index.html b/content/releases/qpid-dispatch-0.6.0/index.html index 61a8a27..d25228d 100644 --- a/content/releases/qpid-dispatch-0.6.0/index.html +++ b/content/releases/qpid-dispatch-0.6.0/index.html @@ -171,7 +171,7 @@ the files you download.</p> <script type="text/javascript"> _deferredFunctions.push(function() { - if ("0.6.0" === "0.6.0") { + if ("0.6.0" === "0.6.1") { _modifyCurrentReleaseLinks(); } }); http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/_images/console_charts.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/_images/console_charts.png b/content/releases/qpid-dispatch-0.6.1/_images/console_charts.png new file mode 100755 index 0000000..169c2ca Binary files /dev/null and b/content/releases/qpid-dispatch-0.6.1/_images/console_charts.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/_images/console_entity.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/_images/console_entity.png b/content/releases/qpid-dispatch-0.6.1/_images/console_entity.png new file mode 100755 index 0000000..130c7e7 Binary files /dev/null and b/content/releases/qpid-dispatch-0.6.1/_images/console_entity.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/_images/console_login.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/_images/console_login.png b/content/releases/qpid-dispatch-0.6.1/_images/console_login.png new file mode 100755 index 0000000..63e22c6 Binary files /dev/null and b/content/releases/qpid-dispatch-0.6.1/_images/console_login.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/_images/console_overview.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/_images/console_overview.png b/content/releases/qpid-dispatch-0.6.1/_images/console_overview.png new file mode 100755 index 0000000..af25f36 Binary files /dev/null and b/content/releases/qpid-dispatch-0.6.1/_images/console_overview.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/_images/console_schema.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/_images/console_schema.png b/content/releases/qpid-dispatch-0.6.1/_images/console_schema.png new file mode 100755 index 0000000..ba56c7b Binary files /dev/null and b/content/releases/qpid-dispatch-0.6.1/_images/console_schema.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/_images/console_topology.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/_images/console_topology.png b/content/releases/qpid-dispatch-0.6.1/_images/console_topology.png new file mode 100755 index 0000000..ae4b22a Binary files /dev/null and b/content/releases/qpid-dispatch-0.6.1/_images/console_topology.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/book/addressing.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/book/addressing.html b/content/releases/qpid-dispatch-0.6.1/book/addressing.html new file mode 100644 index 0000000..2a12707 --- /dev/null +++ b/content/releases/qpid-dispatch-0.6.1/book/addressing.html @@ -0,0 +1,271 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>3.2. Addressing. - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Broker for Java</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-dispatch-0.6.1/index.html">Qpid Dispatch 0.6.1</a></li><li>3.2. Addressing.</li></ul> + + <div id="-middle-content"> + + + <div class="section" id="addressing"> +<h1>3.2. Addressing<a class="headerlink" href="#addressing" title="Permalink to this headline">.</a></h1> +<p>AMQP addresses are used to control the flow of messages across a network +of routers. Addresses are used in a number of different places in the +AMQP 1.0 protocol. They can be used in a specific message in the <cite>to</cite> +and <cite>reply-to</cite> fields of a message’s properties. They are also used +during the creation of links in the <cite>address</cite> field of a <cite>source</cite> or +a <cite>target</cite>.</p> +<p>Addresses designate various kinds of entities in a messaging network:</p> +<ul class="simple"> +<li>Endpoint processes that consume data or offer a service</li> +<li>Topics that match multiple consumers to multiple producers</li> +<li>Entities within a messaging broker: +- Queues +- Durable Topics +- Exchanges</li> +</ul> +<p>The syntax of an AMQP address is opaque as far as the router network is +concerned. A syntactical structure may be used by the administrator that +creates addresses, but the router treats them as opaque strings. Routers +consider addresses to be mobile such that any address may be directly +connected to any router in a network and may move around the topology. +In cases where messages are broadcast to or balanced across multiple +consumers, an address may be connected to multiple routers in the +network.</p> +<p>Addresses have semantics associated with them. When an address is +created in the network, it is assigned a set of semantics (and access +rules) during a process called provisioning. The semantics of an address +control how routers behave when they see the address being used.</p> +<p>Address semantics include the following considerations:</p> +<ul class="simple"> +<li><em>Routing pattern</em> - direct, multicast, balanced</li> +<li><em>Undeliverable action</em> - drop, hold and retry, redirect</li> +<li><em>Reliability</em> - N destinations, etc.</li> +</ul> +<div class="section" id="routing-patterns"> +<h2>3.2.1. Routing patterns<a class="headerlink" href="#routing-patterns" title="Permalink to this headline">.</a></h2> +<p>Routing patterns constrain the paths that a message can take across a +network.</p> +<table border="1" class="docutils"> +<colgroup> +<col width="17%" /> +<col width="83%" /> +</colgroup> +<thead valign="bottom"> +<tr class="row-odd"><th class="head"><em>Pattern</em></th> +<th class="head"><em>Description</em></th> +</tr> +</thead> +<tbody valign="top"> +<tr class="row-even"><td><em>Direct</em></td> +<td>Direct routing allows for only one consumer to use an address at a +time. Messages (or links) follow the lowest cost path across the network +from the sender to the one receiver.</td> +</tr> +<tr class="row-odd"><td><em>Multicast</em></td> +<td>Multicast routing allows multiple consumers to use the same address at +the same time. Messages are routed such that each consumer receives a +copy of the message.</td> +</tr> +<tr class="row-even"><td><em>Balanced</em></td> +<td>Balanced routing also allows multiple consumers to use the same +address. In this case, messages are routed to exactly one of the +consumers, and the network attempts to balance the traffic load across +the set of consumers using the same address.</td> +</tr> +</tbody> +</table> +</div> +<div class="section" id="routing-mechanisms"> +<h2>3.2.2. Routing mechanisms<a class="headerlink" href="#routing-mechanisms" title="Permalink to this headline">.</a></h2> +<p>The fact that addresses can be used in different ways suggests that +message routing can be accomplished in different ways. Before going into +the specifics of the different routing mechanisms, it would be good to +first define what is meant by the term <em>routing</em>:</p> +<blockquote> +<div>In a network built of multiple routers connected by connections +(i.e., nodes and edges in a graph), <em>routing</em> determines which +connection to use to send a message directly to its destination or +one step closer to its destination.</div></blockquote> +<p>Each router serves as the terminus of a collection of incoming and +outgoing links. The links either connect directly to endpoints that +produce and consume messages, or they connect to other routers in the +network along previously established connections.</p> +<div class="section" id="message-routing"> +<h3>3.2.2.1. Message routing<a class="headerlink" href="#message-routing" title="Permalink to this headline">.</a></h3> +<p>Message routing occurs upon delivery of a message and is done based on +the address in the message’s <cite>to</cite> field.</p> +<p>When a delivery arrives on an incoming link, the router extracts the +address from the delivered message’s <cite>to</cite> field and looks the address +up in its routing table. The lookup results in zero or more outgoing +links onto which the message shall be resent.</p> +<table border="1" class="docutils"> +<colgroup> +<col width="19%" /> +<col width="81%" /> +</colgroup> +<thead valign="bottom"> +<tr class="row-odd"><th class="head"><em>Delivery</em></th> +<th class="head"><em>Handling</em></th> +</tr> +</thead> +<tbody valign="top"> +<tr class="row-even"><td><em>pre-settled</em></td> +<td>If the arriving delivery is pre-settled (i.e., fire and forget), the +incoming delivery shall be settled by the router, and the outgoing +deliveries shall also be pre-settled. In other words, the pre-settled +nature of the message delivery is propagated across the network to the +message’s destination.</td> +</tr> +<tr class="row-odd"><td><em>unsettled</em></td> +<td>Unsettled delivery is also propagated across the network. Because +unsettled delivery records cannot be discarded, the router tracks the +incoming deliveries and keeps the association of the incoming +deliveries to the resulting outgoing deliveries. This kept association +allows the router to continue to propagate changes in delivery state +(settlement and disposition) back and forth along the path which the +message traveled.</td> +</tr> +</tbody> +</table> +</div> +</div> +</div> + + + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</a></li> + <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> + <li><a href="http://www.apache.org/foundation/thanks.html">Thanks!</a></li> + <li><a href="/security.html">Security</a></li> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/book/amqp-mapping.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/book/amqp-mapping.html b/content/releases/qpid-dispatch-0.6.1/book/amqp-mapping.html new file mode 100644 index 0000000..4601401 --- /dev/null +++ b/content/releases/qpid-dispatch-0.6.1/book/amqp-mapping.html @@ -0,0 +1,358 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>3.3. AMQP Mapping. - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Broker for Java</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-dispatch-0.6.1/index.html">Qpid Dispatch 0.6.1</a></li><li>3.3. AMQP Mapping.</li></ul> + + <div id="-middle-content"> + + + <div class="section" id="amqp-mapping"> +<h1>3.3. AMQP Mapping<a class="headerlink" href="#amqp-mapping" title="Permalink to this headline">.</a></h1> +<p>Dispatch Router is an AMQP router and as such, it provides extensions, +code-points, and semantics for routing over AMQP. This page documents the +details of Dispatch Router’s use of AMQP.</p> +<div class="section" id="message-annotations"> +<h2>3.3.1. Message Annotations<a class="headerlink" href="#message-annotations" title="Permalink to this headline">.</a></h2> +<p>The following Message Annotation fields are defined by Dispatch Router:</p> +<table border="1" class="docutils"> +<colgroup> +<col width="22%" /> +<col width="19%" /> +<col width="59%" /> +</colgroup> +<thead valign="bottom"> +<tr class="row-odd"><th class="head"><em>Field</em></th> +<th class="head"><em>Type</em></th> +<th class="head"><em>Description</em></th> +</tr> +</thead> +<tbody valign="top"> +<tr class="row-even"><td>x-opt-qd.ingress</td> +<td>string</td> +<td>The identity of the ingress router for a message-routed +message. The ingress router is the first router +encountered by a transiting message. The router will, +if this field is present, leave it unaltered. If the +field is not present, the router shall insert the field +with its own identity.</td> +</tr> +<tr class="row-odd"><td>x-opt-qd.trace</td> +<td>list of string</td> +<td>The list of routers through which this message-routed +message has transited. If this field is not present, +the router shall do nothing. If the field is present, +the router shall append its own identity to the end of +the list.</td> +</tr> +<tr class="row-even"><td>x-opt-qd.to</td> +<td>string</td> +<td>To-Override for message-routed messages. If this field +is present, the address in this field shall be used for +routing in lieu of the <em>to</em> field in the message +properties. A router may append, remove, or modify this +annotation field depending on the policy in place for +routing the message.</td> +</tr> +<tr class="row-odd"><td>x-opt-qd.phase</td> +<td>integer</td> +<td>The address-phase, if not zero, for messages flowing +between routers.</td> +</tr> +</tbody> +</table> +</div> +<div class="section" id="source-target-capabilities"> +<h2>3.3.2. Source/Target Capabilities<a class="headerlink" href="#source-target-capabilities" title="Permalink to this headline">.</a></h2> +<p>The following Capability values are used in Sources and Targets.</p> +<table border="1" class="docutils"> +<colgroup> +<col width="17%" /> +<col width="83%" /> +</colgroup> +<thead valign="bottom"> +<tr class="row-odd"><th class="head"><em>Capability</em></th> +<th class="head"><em>Description</em></th> +</tr> +</thead> +<tbody valign="top"> +<tr class="row-even"><td>qd.router</td> +<td>This capability is added to sources and targets that are used for +inter-router message exchange. This capability denotes a link used for +router-control messages flowing between routers.</td> +</tr> +<tr class="row-odd"><td>qd.router-data</td> +<td>This capability is added to sources and targets that are used for +inter-router message exchange. This capability denotes a link used for +user messages being message-routed across an inter-router connection.</td> +</tr> +</tbody> +</table> +</div> +<div class="section" id="dynamic-node-properties"> +<h2>3.3.3. Dynamic-Node-Properties<a class="headerlink" href="#dynamic-node-properties" title="Permalink to this headline">.</a></h2> +<p>The following dynamic-node-properties are used by Dispatch in Sources.</p> +<table border="1" class="docutils"> +<colgroup> +<col width="22%" /> +<col width="78%" /> +</colgroup> +<thead valign="bottom"> +<tr class="row-odd"><th class="head"><em>Property</em></th> +<th class="head"><em>Description</em></th> +</tr> +</thead> +<tbody valign="top"> +<tr class="row-even"><td>x-opt-qd.address</td> +<td>The node address describing the destination desired for a dynamic +source. If this is absent, the router will terminate any dynamic +receivers. If this address is present, the router will use the address +to route the dynamic link attach to the proper destination container.</td> +</tr> +</tbody> +</table> +</div> +<div class="section" id="addresses-and-address-formats"> +<h2>3.3.4. Addresses and Address Formats<a class="headerlink" href="#addresses-and-address-formats" title="Permalink to this headline">.</a></h2> +<p>The following AMQP addresses and address patterns are used within +Dispatch Router.</p> +<div class="section" id="address-patterns"> +<h3>3.3.4.1. Address Patterns<a class="headerlink" href="#address-patterns" title="Permalink to this headline">.</a></h3> +<table border="1" class="docutils"> +<colgroup> +<col width="37%" /> +<col width="63%" /> +</colgroup> +<thead valign="bottom"> +<tr class="row-odd"><th class="head"><em>Pattern</em></th> +<th class="head"><em>Description</em></th> +</tr> +</thead> +<tbody valign="top"> +<tr class="row-even"><td><cite>_local/<addr></cite></td> +<td>An address that references a locally attached +endpoint. Messages using this address pattern shall not +be routed over more than one link.</td> +</tr> +<tr class="row-odd"><td><cite>_topo/0/<router>/<addr></cite></td> +<td><p class="first">An address that references an endpoint attached to a +specific router node in the network topology. Messages +with addresses that follow this pattern shall be routed +along the shortest path to the specified router. Note +that addresses of this form are a-priori routable in +that the address itself contains enough information to +route the message to its destination.</p> +<p class="last">The ‘0’ component immediately preceding the router-id +is a placeholder for an _area_ which may be used in +the future if area routing is implemented.</p> +</td> +</tr> +<tr class="row-even"><td><cite><addr></cite></td> +<td>A mobile address. An address of this format represents +an endpoint or a set of distinct endpoints that are +attached to the network in arbitrary locations. It is +the responsibility of the router network to determine +which router nodes are valid destinations for mobile +addresses.</td> +</tr> +</tbody> +</table> +</div> +<div class="section" id="supported-addresses"> +<h3>3.3.4.2. Supported Addresses<a class="headerlink" href="#supported-addresses" title="Permalink to this headline">.</a></h3> +<table border="1" class="docutils"> +<colgroup> +<col width="35%" /> +<col width="65%" /> +</colgroup> +<thead valign="bottom"> +<tr class="row-odd"><th class="head"><em>Address</em></th> +<th class="head"><em>Description</em></th> +</tr> +</thead> +<tbody valign="top"> +<tr class="row-even"><td><cite>$management</cite></td> +<td>The management agent on the attached router/container. This +address would be used by an endpoint that is a management +client/console/tool wishing to access management data from +the attached container.</td> +</tr> +<tr class="row-odd"><td><cite>_topo/0/Router.E/$management</cite></td> +<td>The management agent at Router.E in area 0. This address +would be used by a management client wishing to access +management data from a specific container that is reachable +within the network.</td> +</tr> +<tr class="row-even"><td><cite>_local/qdhello</cite></td> +<td>The router entity in each of the connected routers. This +address is used to communicate with neighbor routers and is +exclusively for the HELLO discovery protocol.</td> +</tr> +<tr class="row-odd"><td><cite>_local/qdrouter</cite></td> +<td>The router entity in each of the connected routers. This +address is used by a router to communicate with other +routers in the network.</td> +</tr> +<tr class="row-even"><td><cite>_topo/0/Router.E/qdrouter</cite></td> +<td>The router entity at the specifically indicated router. This +address form is used by a router to communicate with a +specific router that may or may not be a neighbor.</td> +</tr> +</tbody> +</table> +</div> +</div> +<div class="section" id="implementation-of-the-amqp-management-specification"> +<h2>3.3.5. Implementation of the AMQP Management Specification<a class="headerlink" href="#implementation-of-the-amqp-management-specification" title="Permalink to this headline">.</a></h2> +<p>Qpid Dispatch is manageable remotely via AMQP. It is compliant with the +emerging AMQP Management specification (draft 9).</p> +<p>Differences from the specification:</p> +<ul class="simple"> +<li>The <cite>name</cite> attribute is not required when an entity is created. If +not supplied it will be set to the same value as the system-generated +“identity” attribute. Otherwise it is treated as per the standard.</li> +<li>The <cite>REGISTER</cite> and <cite>DEREGISTER</cite> operations are not implemented. The router +automatically discovers peer routers via the router network and makes +their management addresses available via the standard GET-MGMT-NODES +operation.</li> +</ul> +</div> +</div> + + + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</a></li> + <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> + <li><a href="http://www.apache.org/foundation/thanks.html">Thanks!</a></li> + <li><a href="/security.html">Security</a></li> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/book/auto_links.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/book/auto_links.html b/content/releases/qpid-dispatch-0.6.1/book/auto_links.html new file mode 100644 index 0000000..7747eb6 --- /dev/null +++ b/content/releases/qpid-dispatch-0.6.1/book/auto_links.html @@ -0,0 +1,357 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>2.5. Indirect Waypoints and Auto-Links. - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Broker for Java</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-dispatch-0.6.1/index.html">Qpid Dispatch 0.6.1</a></li><li>2.5. Indirect Waypoints and Auto-Links.</li></ul> + + <div id="-middle-content"> + + + <div class="section" id="indirect-waypoints-and-auto-links"> +<h1>2.5. Indirect Waypoints and Auto-Links<a class="headerlink" href="#indirect-waypoints-and-auto-links" title="Permalink to this headline">.</a></h1> +<p>This feature was introduced in Qpid Dispatch 0.6. It is a significant +improvement on an earlier somewhat experimental feature called +Waypoints.</p> +<p>Auto-link is a feature of Qpid Dispatch Router that enables a router +to actively attach a link to a node on an external AMQP container. +The obvious application for this feature is to route messages through +a queue on a broker, but other applications are possible as well.</p> +<p>An auto-link manages the lifecycle of one AMQP link. If messages are +to be routed to and from a queue on a broker, then two auto-links are +needed: one for sending messages to the queue and another for +receiving messages from the queue. The container to which an +auto-link attempts to attach may be identified in one of two ways:</p> +<blockquote> +<div><ul class="simple"> +<li>The name of the connector/listener that resulted in the connection +of the container, or</li> +<li>The AMQP container-id of the remote container.</li> +</ul> +</div></blockquote> +<div class="section" id="queue-waypoint-example"> +<h2>2.5.1. Queue Waypoint Example<a class="headerlink" href="#queue-waypoint-example" title="Permalink to this headline">.</a></h2> +<p>Here is an example configuration for routing messages deliveries +through a pair of queues on a broker:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>connector { + name: broker + role: route-container + host: <hostname> + port: <port> + sasl-mechanisms: ANONYMOUS +} + +address { + prefix: queue + waypoint: yes +} + +autoLink { + addr: queue.first + dir: in + connection: broker +} + +autoLink { + addr: queue.first + dir: out + connection: broker +} + +autoLink { + addr: queue.second + dir: in + connection: broker +} + +autoLink { + addr: queue.second + dir: out + connection: broker +} +</pre></div> +</div> +<p>The <em>address</em> entity identifies a namespace (queue.*) that will be +used for routing messages through queues via autolinks. The four +<em>autoLink</em> entities identify the head and tail of two queues on the +broker that will be connected via auto-links.</p> +<p>If there is no broker connected, the auto-links shall remain +<em>inactive</em>. This can be observed by using the <em>qdstat</em> tool:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ qdstat --autolinks +AutoLinks + addr dir phase link status lastErr + =================================================== + queue.first in 1 inactive + queue.first out 0 inactive + queue.second in 1 inactive + queue.second out 0 inactive +</pre></div> +</div> +<p>If a broker comes online with a queue called <em>queue.first</em>, the +auto-links will attempt to activate:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ qdstat --autolinks +AutoLinks + addr dir phase link status lastErr + ====================================================================== + queue.first in 1 6 active + queue.first out 0 7 active + queue.second in 1 failed Node not found: queue.second + queue.second out 0 failed Node not found: queue.second +</pre></div> +</div> +<p>Note that two of the auto-links are in <em>failed</em> state because the +queue does not exist on the broker.</p> +<p>If we now use the Qpid Proton example application <em>simple_send</em> to +send three messages to queue.first via the router:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ python simple_send.py -a 127.0.0.1/queue.first -m3 +all messages confirmed +</pre></div> +</div> +<p>and then look at the address statistics on the router:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ qdstat -a +Router Addresses + class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc + ======================================================================================================== + mobile queue.first 1 balanced 0 0 0 0 0 0 0 0 0 + mobile queue.first 0 balanced 0 1 0 0 3 3 0 0 0 +</pre></div> +</div> +<p>we see that <em>queue.first</em> appears twice in the list of addresses. The +<em>phs</em>, or phase column shows that there are two phases for the +address. Phase ‘0’ is for routing message deliveries from producers +to the tail of the queue (the <em>out</em> auto-link associated with the +queue). Phase ‘1’ is for routing deliveries from the head of the +queue to subscribed consumers.</p> +<p>Note that three deliveries have been counted in the “in” and “out” +columns for phase ‘0’. The “in” column represents the three messages +that arrived from simple_send and the “out” column represents the +three deliveries to the queue on the broker.</p> +<p>If we now use <em>simple_recv</em> to receive three messages from this +address:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ python simple_recv_noignore.py -a 127.0.0.1:5672/queue.first -m3 +{u'sequence': int32(1)} +{u'sequence': int32(2)} +{u'sequence': int32(3)} +</pre></div> +</div> +<p>We receive the three queued messages. Looking at the addresses again, +we see that phase ‘1’ was used to deliver those messages from the +queue to the consumer.</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ qdstat -a +Router Addresses + class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc + ======================================================================================================== + mobile queue.first 1 balanced 0 0 0 0 3 3 0 0 0 + mobile queue.first 0 balanced 0 1 0 0 3 3 0 0 0 +</pre></div> +</div> +<p>Note that even in a multi-router network, and with multiple producers +and consumers for <em>queue.first</em>, all deliveries will be routed through +the queue on the connected broker.</p> +</div> +<div class="section" id="sharded-queue-example"> +<h2>2.5.2. Sharded Queue Example<a class="headerlink" href="#sharded-queue-example" title="Permalink to this headline">.</a></h2> +<p>Here is an extension of the above example to illustrate how Qpid +Dispatch Router can be used to create a distributed queue in which +multiple brokers share the message-queueing load.</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>connector { + name: broker1 + role: route-container + host: <hostname> + port: <port> + sasl-mechanisms: ANONYMOUS +} + +connector { + name: broker2 + role: route-container + host: <hostname> + port: <port> + sasl-mechanisms: ANONYMOUS +} + +address { + prefix: queue + waypoint: yes +} + +autoLink { + addr: queue.first + dir: in + connection: broker1 +} + +autoLink { + addr: queue.first + dir: out + connection: broker1 +} + +autoLink { + addr: queue.first + dir: in + connection: broker2 +} + +autoLink { + addr: queue.first + dir: out + connection: broker2 +} +</pre></div> +</div> +<p>In the above configuration, there are two instances of <em>queue.first</em> +on brokers 1 and 2. Message traffic from producers to address +<em>queue.first</em> shall be balanced between the two instance and messages +from the queues shall be balanced across the collection of subscribers +to the same address.</p> +</div> +<div class="section" id="dynamically-adding-shards"> +<h2>2.5.3. Dynamically Adding Shards<a class="headerlink" href="#dynamically-adding-shards" title="Permalink to this headline">.</a></h2> +<p>Since configurable entities in the router can also be accessed via the +management protocol, we can remotely add a shard to the above example +using <em>qdmanage</em>:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>qdmanage create --type org.apache.qpid.dispatch.connector host=<host> port=<port> name=broker3 +qdmanage create --type org.apache.qpid.dispatch.router.config.autoLink addr=queue.first dir=in connection=broker3 +qdmanage create --type org.apache.qpid.dispatch.router.config.autoLink addr=queue.first dir=out connection=broker3 +</pre></div> +</div> +</div> +</div> + + + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</a></li> + <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> + <li><a href="http://www.apache.org/foundation/thanks.html">Thanks!</a></li> + <li><a href="/security.html">Security</a></li> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/48fa0554/content/releases/qpid-dispatch-0.6.1/book/basic_usage.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-dispatch-0.6.1/book/basic_usage.html b/content/releases/qpid-dispatch-0.6.1/book/basic_usage.html new file mode 100644 index 0000000..e25fd78 --- /dev/null +++ b/content/releases/qpid-dispatch-0.6.1/book/basic_usage.html @@ -0,0 +1,310 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>2.3. Basic Usage and Examples. - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Broker for Java</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-dispatch-0.6.1/index.html">Qpid Dispatch 0.6.1</a></li><li>2.3. Basic Usage and Examples.</li></ul> + + <div id="-middle-content"> + + + <div class="section" id="basic-usage-and-examples"> +<h1>2.3. Basic Usage and Examples<a class="headerlink" href="#basic-usage-and-examples" title="Permalink to this headline">.</a></h1> +<div class="section" id="standalone-and-interior-modes"> +<h2>2.3.1. Standalone and Interior Modes<a class="headerlink" href="#standalone-and-interior-modes" title="Permalink to this headline">.</a></h2> +<p>The router can operate stand-alone or as a node in a network of routers. +The mode is configured in the <em>router</em> section of the configuration +file. In stand-alone mode, the router does not attempt to collaborate +with any other routers and only routes messages among directly connected +endpoints.</p> +<p>If your router is running in stand-alone mode, <em>qdstat -a</em> will look +like the following:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ qdstat -a +Router Addresses + class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc + =============================================================================================================== + local $_management_internal closest 1 0 0 0 0 0 0 0 0 + local $displayname closest 1 0 0 0 0 0 0 0 0 + mobile $management 0 closest 1 0 0 0 1 0 0 1 0 + local $management closest 1 0 0 0 0 0 0 0 0 + local temp.1GThUllfR7N+BDP closest 0 1 0 0 0 0 0 0 0 +</pre></div> +</div> +<p>Note that there are a number of known addresses. <em>$management</em> is the address of +the router’s embedded management agent. <em>temp.1GThUllfR7N+BDP</em> is the temporary +reply-to address of the <em>qdstat</em> client making requests to the agent.</p> +<p>If you change the mode to interior and restart the processs, the same +command will yield additional addresses which are used for +inter-router communication:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ qdstat -a +Router Addresses + class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc + ================================================================================================================= + local $_management_internal closest 1 0 0 0 0 0 0 0 0 + local $displayname closest 1 0 0 0 0 0 0 0 0 + mobile $management 0 closest 1 0 0 0 1 0 0 1 0 + local $management closest 1 0 0 0 0 0 0 0 0 + local qdhello flood 1 0 0 0 0 0 0 0 10 + local qdrouter flood 1 0 0 0 0 0 0 0 0 + topo qdrouter flood 1 0 0 0 0 0 0 0 1 + local qdrouter.ma multicast 1 0 0 0 0 0 0 0 0 + topo qdrouter.ma multicast 1 0 0 0 0 0 0 0 0 + local temp.wfx54+zf+YWQF3T closest 0 1 0 0 0 0 0 0 0 +</pre></div> +</div> +</div> +<div class="section" id="mobile-subscribers"> +<h2>2.3.2. Mobile Subscribers<a class="headerlink" href="#mobile-subscribers" title="Permalink to this headline">.</a></h2> +<p>The term “mobile subscriber” simply refers to the fact that a client may +connect to the router and subscribe to an address to receive messages +sent to that address. No matter where in the network the subscriber +attaches, the messages will be routed to the appropriate destination.</p> +<p>To illustrate a subscription on a stand-alone router, you can use the +examples that are provided with Qpid Proton. Using the <em>simple_recv.py</em> example +receiver:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ python ./simple_recv.py -a 127.0.0.1/my-address +</pre></div> +</div> +<p>This command creates a receiving link subscribed to the specified +address. To verify the subscription:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ qdstat -a +Router Addresses + class addr phs distrib in-proc local remote cntnr in out thru to-proc from-proc + =============================================================================================================== + local $_management_internal closest 1 0 0 0 0 0 0 0 0 + local $displayname closest 1 0 0 0 0 0 0 0 0 + mobile $management 0 closest 1 0 0 0 2 0 0 2 0 + local $management closest 1 0 0 0 0 0 0 0 0 + mobile my-address 0 closest 0 1 0 0 0 0 0 0 0 + local temp.75_d2X23x_KOT51 closest 0 1 0 0 0 0 0 0 0 +</pre></div> +</div> +<p>You can then, in a separate command window, run a sender to produce +messages to that address:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>$ python ./simple_send.py -a 127.0.0.1/my-address +</pre></div> +</div> +</div> +<div class="section" id="dynamic-reply-to"> +<h2>2.3.3. Dynamic Reply-To<a class="headerlink" href="#dynamic-reply-to" title="Permalink to this headline">.</a></h2> +<p>Dynamic reply-to can be used to obtain a reply-to address that routes +back to a client’s receiving link regardless of how many hops it has to +take to get there. To illustrate this feature, see below a simple +program (written in C++ against the qpid::messaging API) that queries +the management agent of the attached router for a list of other known +routers’ management addresses.</p> +<div class="highlight-python"><div class="highlight"><pre><span></span>#include <qpid/messaging/Address.h> +#include <qpid/messaging/Connection.h> +#include <qpid/messaging/Message.h> +#include <qpid/messaging/Receiver.h> +#include <qpid/messaging/Sender.h> +#include <qpid/messaging/Session.h> + +using namespace qpid::messaging; +using namespace qpid::types; + +using std::stringstream; +using std::string; + +int main() { + const char* url = "amqp:tcp:127.0.0.1:5672"; + std::string connectionOptions = "{protocol:amqp1.0}"; + + Connection connection(url, connectionOptions); + connection.open(); + Session session = connection.createSession(); + Sender sender = session.createSender("mgmt"); + + // create reply receiver and get the reply-to address + Receiver receiver = session.createReceiver("#"); + Address responseAddress = receiver.getAddress(); + + Message request; + request.setReplyTo(responseAddress); + request.setProperty("x-amqp-to", "amqp:/_local/$management"); + request.setProperty("operation", "DISCOVER-MGMT-NODES"); + request.setProperty("type", "org.amqp.management"); + request.setProperty("name, "self"); + + sender.send(request); + Message response = receiver.fetch(); + Variant content(response.getContentObject()); + std::cout << "Response: " << content << std::endl << std::endl; + + connection.close(); +} +</pre></div> +</div> +<p>The equivalent program written in Python against the Proton Messenger +API:</p> +<div class="highlight-python"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">proton</span> <span class="kn">import</span> <span class="n">Messenger</span><span class="p">,</span> <span class="n">Message</span> + +<span class="k">def</span> <span class="nf">main</span><span class="p">():</span> + <span class="n">host</span> <span class="o">=</span> <span class="s2">"0.0.0.0:5672"</span> + + <span class="n">messenger</span> <span class="o">=</span> <span class="n">Messenger</span><span class="p">()</span> + <span class="n">messenger</span><span class="o">.</span><span class="n">start</span><span class="p">()</span> + <span class="n">messenger</span><span class="o">.</span><span class="n">route</span><span class="p">(</span><span class="s2">"amqp:/*"</span><span class="p">,</span> <span class="s2">"amqp://</span><span class="si">%s</span><span class="s2">/$1"</span> <span class="o">%</span> <span class="n">host</span><span class="p">)</span> + <span class="n">reply_subscription</span> <span class="o">=</span> <span class="n">messenger</span><span class="o">.</span><span class="n">subscribe</span><span class="p">(</span><span class="s2">"amqp:/#"</span><span class="p">)</span> + <span class="n">reply_address</span> <span class="o">=</span> <span class="n">reply_subscription</span><span class="o">.</span><span class="n">address</span> + + <span class="n">request</span> <span class="o">=</span> <span class="n">Message</span><span class="p">()</span> + <span class="n">response</span> <span class="o">=</span> <span class="n">Message</span><span class="p">()</span> + + <span class="n">request</span><span class="o">.</span><span class="n">address</span> <span class="o">=</span> <span class="s2">"amqp:/_local/$management"</span> + <span class="n">request</span><span class="o">.</span><span class="n">reply_to</span> <span class="o">=</span> <span class="n">reply_address</span> + <span class="n">request</span><span class="o">.</span><span class="n">properties</span> <span class="o">=</span> <span class="p">{</span><span class="s1">u'operation'</span> <span class="p">:</span> <span class="s1">u'DISCOVER-MGMT-NODES'</span><span class="p">,</span> + <span class="s1">u'type'</span> <span class="p">:</span> <span class="s1">u'org.amqp.management'</span><span class="p">,</span> + <span class="s1">u'name'</span> <span class="p">:</span> <span class="s1">u'self'</span><span class="p">}</span> + + <span class="n">messenger</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">request</span><span class="p">)</span> + <span class="n">messenger</span><span class="o">.</span><span class="n">send</span><span class="p">()</span> + <span class="n">messenger</span><span class="o">.</span><span class="n">recv</span><span class="p">()</span> + <span class="n">messenger</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">response</span><span class="p">)</span> + + <span class="k">print</span> <span class="s2">"Response: </span><span class="si">%r</span><span class="s2">"</span> <span class="o">%</span> <span class="n">response</span><span class="o">.</span><span class="n">body</span> + + <span class="n">messenger</span><span class="o">.</span><span class="n">stop</span><span class="p">()</span> + +<span class="n">main</span><span class="p">()</span> +</pre></div> +</div> +</div> +</div> + + + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</a></li> + <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> + <li><a href="http://www.apache.org/foundation/thanks.html">Thanks!</a></li> + <li><a href="/security.html">Security</a></li> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
