Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 95FCF200B38 for ; Thu, 23 Jun 2016 18:45:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 94FF2160A35; Thu, 23 Jun 2016 16:45:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2C593160A6C for ; Thu, 23 Jun 2016 18:44:59 +0200 (CEST) Received: (qmail 1547 invoked by uid 500); 23 Jun 2016 16:44:58 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 1341 invoked by uid 99); 23 Jun 2016 16:44:58 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 16:44:58 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0B984E9682; Thu, 23 Jun 2016 16:44:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aconway@apache.org To: commits@qpid.apache.org Date: Thu, 23 Jun 2016 16:45:03 -0000 Message-Id: <119d936bb81a4cff831ce3c3e159d0cb@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [07/14] qpid-site git commit: DISPATCH-399: Convert documentation to asciidoc format archived-at: Thu, 23 Jun 2016 16:45:01 -0000 http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/addressing.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/addressing.html.in b/input/releases/qpid-dispatch-master/book/addressing.html.in deleted file mode 100644 index d472702..0000000 --- a/input/releases/qpid-dispatch-master/book/addressing.html.in +++ /dev/null @@ -1,127 +0,0 @@ - - -
-

3.2. Addressing.

-

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 to -and reply-to fields of a message’s properties. They are also used -during the creation of links in the address field of a source or -a target.

-

Addresses designate various kinds of entities in a messaging network:

-
    -
  • Endpoint processes that consume data or offer a service
  • -
  • Topics that match multiple consumers to multiple producers
  • -
  • Entities within a messaging broker: -- Queues -- Durable Topics -- Exchanges
  • -
-

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.

-

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.

-

Address semantics include the following considerations:

-
    -
  • Routing pattern - direct, multicast, balanced
  • -
  • Undeliverable action - drop, hold and retry, redirect
  • -
  • Reliability - N destinations, etc.
  • -
-
-

3.2.1. Routing patterns.

-

Routing patterns constrain the paths that a message can take across a -network.

- ---- - - - - - - - - - - - - - - - - -
PatternDescription
DirectDirect 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.
MulticastMulticast 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.
BalancedBalanced 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.
-
-
-

3.2.2. Routing mechanisms.

-

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 routing:

-
-
In a network built of multiple routers connected by connections -(i.e., nodes and edges in a graph), routing determines which -connection to use to send a message directly to its destination or -one step closer to its destination.
-

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.

-
-

3.2.2.1. Message routing.

-

Message routing occurs upon delivery of a message and is done based on -the address in the message’s to field.

-

When a delivery arrives on an incoming link, the router extracts the -address from the delivered message’s to 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.

- ---- - - - - - - - - - - - - - -
DeliveryHandling
pre-settledIf 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.
unsettledUnsettled 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.
-
-
-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/amqp-mapping.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/amqp-mapping.html.in b/input/releases/qpid-dispatch-master/book/amqp-mapping.html.in deleted file mode 100644 index 051d754..0000000 --- a/input/releases/qpid-dispatch-master/book/amqp-mapping.html.in +++ /dev/null @@ -1,214 +0,0 @@ - - -
-

3.3. AMQP Mapping.

-

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.

-
-

3.3.1. Message Annotations.

-

The following Message Annotation fields are defined by Dispatch Router:

- ----- - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
x-opt-qd.ingressstringThe 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.
x-opt-qd.tracelist of stringThe 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.
x-opt-qd.tostringTo-Override for message-routed messages. If this field -is present, the address in this field shall be used for -routing in lieu of the to 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.
x-opt-qd.phaseintegerThe address-phase, if not zero, for messages flowing -between routers.
-
-
-

3.3.2. Source/Target Capabilities.

-

The following Capability values are used in Sources and Targets.

- ---- - - - - - - - - - - - - - -
CapabilityDescription
qd.routerThis 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.
qd.router-dataThis 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.
-
-
-

3.3.3. Dynamic-Node-Properties.

-

The following dynamic-node-properties are used by Dispatch in Sources.

- ---- - - - - - - - - - - -
PropertyDescription
x-opt-qd.addressThe 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.
-
-
-

3.3.4. Addresses and Address Formats.

-

The following AMQP addresses and address patterns are used within -Dispatch Router.

-
-

3.3.4.1. Address Patterns.

- ---- - - - - - - - - - - - - - - - - -
PatternDescription
_local/<addr>An address that references a locally attached -endpoint. Messages using this address pattern shall not -be routed over more than one link.
_topo/0/<router>/<addr>

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.

-

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.

-
<addr>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.
-
-
-

3.3.4.2. Supported Addresses.

- ---- - - - - - - - - - - - - - - - - - - - - - - -
AddressDescription
$managementThe 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.
_topo/0/Router.E/$managementThe 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.
_local/qdhelloThe 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.
_local/qdrouterThe router entity in each of the connected routers. This -address is used by a router to communicate with other -routers in the network.
_topo/0/Router.E/qdrouterThe 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.
-
-
-
-

3.3.5. Implementation of the AMQP Management Specification.

-

Qpid Dispatch is manageable remotely via AMQP. It is compliant with the -emerging AMQP Management specification (draft 9).

-

Differences from the specification:

-
    -
  • The name 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.
  • -
  • The REGISTER and DEREGISTER 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.
  • -
-
-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/auto_links.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/auto_links.html.in b/input/releases/qpid-dispatch-master/book/auto_links.html.in deleted file mode 100644 index 6a66f25..0000000 --- a/input/releases/qpid-dispatch-master/book/auto_links.html.in +++ /dev/null @@ -1,213 +0,0 @@ - - - - http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/basic_usage.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/basic_usage.html.in b/input/releases/qpid-dispatch-master/book/basic_usage.html.in deleted file mode 100644 index 323fdbf..0000000 --- a/input/releases/qpid-dispatch-master/book/basic_usage.html.in +++ /dev/null @@ -1,166 +0,0 @@ - - -
-

2.3. Basic Usage and Examples.

-
-

2.3.1. Standalone and Interior Modes.

-

The router can operate stand-alone or as a node in a network of routers. -The mode is configured in the router 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.

-

If your router is running in stand-alone mode, qdstat -a will look -like the following:

-
$ 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
-
-
-

Note that there are a number of known addresses. $management is the address of -the router’s embedded management agent. temp.1GThUllfR7N+BDP is the temporary -reply-to address of the qdstat client making requests to the agent.

-

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:

-
$ 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
-
-
-
-
-

2.3.2. Mobile Subscribers.

-

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.

-

To illustrate a subscription on a stand-alone router, you can use the -examples that are provided with Qpid Proton. Using the simple_recv.py example -receiver:

-
$ python ./simple_recv.py -a 127.0.0.1/my-address
-
-
-

This command creates a receiving link subscribed to the specified -address. To verify the subscription:

-
$ 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
-
-
-

You can then, in a separate command window, run a sender to produce -messages to that address:

-
$ python ./simple_send.py -a 127.0.0.1/my-address
-
-
-
-
-

2.3.3. Dynamic Reply-To.

-

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.

-
#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();
-}
-
-
-

The equivalent program written in Python against the Proton Messenger -API:

-
from proton import Messenger, Message
-
-def main():
-    host = "0.0.0.0:5672"
-
-    messenger = Messenger()
-    messenger.start()
-    messenger.route("amqp:/*", "amqp://%s/$1" % host)
-    reply_subscription = messenger.subscribe("amqp:/#")
-    reply_address = reply_subscription.address
-
-    request  = Message()
-    response = Message()
-
-    request.address = "amqp:/_local/$management"
-    request.reply_to = reply_address
-    request.properties = {u'operation' : u'DISCOVER-MGMT-NODES',
-                          u'type'      : u'org.amqp.management',
-                          u'name'      : u'self'}
-
-    messenger.put(request)
-    messenger.send()
-    messenger.recv()
-    messenger.get(response)
-
-    print "Response: %r" % response.body
-
-    messenger.stop()
-
-main()
-
-
-
-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/book.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/book.html.in b/input/releases/qpid-dispatch-master/book/book.html.in deleted file mode 100644 index 1f1fe66..0000000 --- a/input/releases/qpid-dispatch-master/book/book.html.in +++ /dev/null @@ -1,82 +0,0 @@ - - - - http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/client_compatibility.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/client_compatibility.html.in b/input/releases/qpid-dispatch-master/book/client_compatibility.html.in deleted file mode 100644 index 95ba509..0000000 --- a/input/releases/qpid-dispatch-master/book/client_compatibility.html.in +++ /dev/null @@ -1,33 +0,0 @@ - - -
-

3.1. Client Compatibility.

-

Dispatch Router should, in theory, work with any client that is -compatible with AMQP 1.0. The following clients have been tested:

- ---- - - - - - - - - - - - - - - - - -
ClientNotes
qpid::messagingThe Qpid messaging clients work with Dispatch Router as long as -they are configured to use the 1.0 version of the protocol. To -enable AMQP 1.0 in the C++ client, use the {protocol:amqp1.0} -connection option.
Proton ReactorThe Proton Reactor API is compatible with Dispatch Router.
Proton MessengerMessenger works with Dispatch Router.
-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/console.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/console.html.in b/input/releases/qpid-dispatch-master/book/console.html.in deleted file mode 100644 index 58d31d9..0000000 --- a/input/releases/qpid-dispatch-master/book/console.html.in +++ /dev/null @@ -1,25 +0,0 @@ - - - - http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/console_installation.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/console_installation.html.in b/input/releases/qpid-dispatch-master/book/console_installation.html.in deleted file mode 100644 index 001b9a3..0000000 --- a/input/releases/qpid-dispatch-master/book/console_installation.html.in +++ /dev/null @@ -1,40 +0,0 @@ - - -
-

4.2. Console installation.

-
-

4.2.1. Prerequisites.

-

The following need to be installed before running a console:

-
    -
  • One or more dispatch routers. See the documentation for the dispatch router for help in starting a router network.
  • -
  • A websockets to tcp proxy.
  • -
  • A web server. This can be any server capable of serving static html/js/css/image files.
  • -
-

To install a websockets to tcp proxy:

-
sudo dnf install python-websockify
-websockify localhost:5673 localhost:5672
-
-
-

This will start the proxy listening to ws traffic on port 5673 and translating it to tcp on port 5672. -One of the routers in the network needs to have a listener configured on port 5672. That listener’s role should be ‘normal’. For example:

-
listener {
-   host: 0.0.0.0
-   role: normal
-   port: amqp
-   saslMechanisms: ANONYMOUS
-}
-
-
-
-
-

4.2.2. The console files.

-
-
The files for the console are located under the console/stand-alone directory in the source tree.::
-
index.html -plugin/
-
Copy these files to a directory under the the html or webapps directory of your web server. For example, for apache tomcat the files should be under webapps/dispatch. Then the console is available as::
-
http://localhost:8080/dispatch
-
-
-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/console_operation.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/console_operation.html.in b/input/releases/qpid-dispatch-master/book/console_operation.html.in deleted file mode 100644 index 2058f78..0000000 --- a/input/releases/qpid-dispatch-master/book/console_operation.html.in +++ /dev/null @@ -1,37 +0,0 @@ - - -
-

4.3. Console operation.

-
-

4.3.1. Logging in to a router network.

-../_images/console_login.png -

Enter the address of the websockets to tcp proxy that is connected to a router in the network.

-

The Autostart checkbox, when checked, will automatically log in with the previous host:port the next time you start the console.

-
-
-

4.3.2. Overview page.

-../_images/console_overview.png -

On the overview page, aggregate information about routers, addresses, and connections is displayed.

-
-
-

4.3.3. Topology page.

-../_images/console_topology.png -

This page displays the router network in a graphical form showing how the routers are connected and information about the individual routers and links.

-
-
-

4.3.4. List page.

-../_images/console_entity.png -

Displays detailed information about entities such as routers, links, addresses, memory.

-
-
-

4.3.5. Charts page.

-../_images/console_charts.png -

This page displays graphs of numeric values that are on the list page.

-
-
-

4.3.6. Schema page.

-../_images/console_schema.png -

This page displays the json schema that is used to manage the router network.

-
-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/console_overview.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/console_overview.html.in b/input/releases/qpid-dispatch-master/book/console_overview.html.in deleted file mode 100644 index e7b95f0..0000000 --- a/input/releases/qpid-dispatch-master/book/console_overview.html.in +++ /dev/null @@ -1,9 +0,0 @@ - - -
-

4.1. Console overview.

-

The console is an HTML based web site that displays information about a qpid dispatch router network.

-

The console requires an HTML web server that can serve static html, javascript, style sheets, and images.

-

The console only provides limited information about the clients that are attached to the router network and is therfore more appropriate for administrators needing to know the layout and health of the router network.

-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/default_config.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/default_config.html.in b/input/releases/qpid-dispatch-master/book/default_config.html.in deleted file mode 100644 index 850988d..0000000 --- a/input/releases/qpid-dispatch-master/book/default_config.html.in +++ /dev/null @@ -1,16 +0,0 @@ - - -
-

2.1. Configuration.

-

The default configuration file is installed in -install-prefix/etc/qdrouterd.conf. This configuration file will -cause the router to run in standalone mode, listening on the standard -AMQP port (5672). Dispatch Router looks for the configuration file in -the installed location by default. If you wish to use a different path, -the “-c” command line option will instruct Dispatch Router as to which -configuration to load.

-

To run the router, invoke the executable: qdrouterd [-c my-config-file]

-

For more details of the configuration file see the qdrouterd.conf(5) -man page.

-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/introduction.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/introduction.html.in b/input/releases/qpid-dispatch-master/book/introduction.html.in deleted file mode 100644 index 91add93..0000000 --- a/input/releases/qpid-dispatch-master/book/introduction.html.in +++ /dev/null @@ -1,98 +0,0 @@ - - -
-

1. Introduction.

-
-

1.1. Overview.

-

The Dispatch router is an AMQP message router that provides -advanced interconnect capabilities. It allows flexible routing of -messages between any AMQP-enabled endpoints, whether they be clients, -servers, brokers or any other entity that can send or receive standard -AMQP messages.

-

A messaging client can make a single AMQP connection into a messaging -bus built of Dispatch routers and, over that connection, exchange -messages with one or more message brokers, and at the same time exchange -messages directly with other endpoints without involving a broker at -all.

-

The router is an intermediary for messages but it is not a broker. It -does not take responsibility for messages. It will, however, propagate -settlement and disposition across a network such that delivery -guarantees are met. In other words: the router network will deliver the -message, possibly via several intermediate routers, and it will route -the acknowledgement of that message by the ultimate receiver back across -the same path. This means that responsibility for the message is -transfered from the original sender to the ultimate receiver as if they -were directly connected. However this is done via a flexible network -that allows highly configurable routing of the message transparent to -both sender and receiver.

-

There are some patterns where this enables “brokerless messaging” -approaches that are preferable to brokered approaches. In other cases a -broker is essential (in particular where you need the separation of -responsibility and/or the buffering provided by store-and-forward) but a -dispatch network can still be useful to tie brokers and clients together -into patterns that are difficult with a single broker.

-

For a “brokerless” example, consider the common brokered implementation -of the request-response pattern, a client puts a request on a queue and -then waits for a reply on another queue. In this case the broker can be -a hindrance - the client may want to know immediatly if there is nobody -to serve the request, but typically it can only wait for a timeout to -discover this. With a dispatch network, the client can be informed -immediately if its message cannot be delivered because nobody is -listening. When the client receives acknowledgement of the request it -knows not just that it is sitting on a queue, but that it has actually -been received by the server.

-

For an exampe of using dispatch to enhance the use of brokers, consider -using an array of brokers to implement a scalable distributed work -queue. A dispatch network can make this appear as a single queue, with -senders publishing to a single address and receivers subscribing to a -single address. The dispatch network can distribute work to any broker -in the array and collect work from any broker for any receiver. Brokers -can be shut down or added without affecting clients. This elegantly -solves the common difficulty of “stuck messages” when implementing this -pattern with brokers alone. If a receiver is connected to a broker that -has no messages, but there are messages on another broker, you have to -somehow transfer them or leave them “stuck”. With a dispatch network, -all the receivers are connected to all the brokers. If there is a -message anywhere it can be delivered to any receiver.

-

The router is meant to be deployed in topologies of multiple routers, -preferably with redundant paths. It uses link-state routing protocols -and algorithms (similar to OSPF or IS-IS from the networking world) to -calculate the best path from every point to every other point and to -recover quickly from failures. It does not need to use clustering for -high availability; rather, it relies on redundant paths to provide -continued connectivity in the face of system or network failure. Because -it never takes responsibility for messages it is effectively stateless. -Messages not delivered to their final destination will not be -acknowledged to the sender and therefore the sender can re-send such -messages if it is disconnected from the network.

-
-
-

1.2. Benefits.

-

Simplifies connectivity

-
    -
  • An endpoint can do all of its messaging through a single transport connection
  • -
  • Avoid opening holes in firewalls for incoming connections
  • -
-

Provides messaging connectivity where there is no TCP/IP connectivity

-
    -
  • A server or broker can be in a private IP network (behind a NAT firewall) and be accessible by messaging endpoints in other networks (learn more).
  • -
-

Simplifies reliability

-
    -
  • Reliability and availability are provided using redundant topology, not server clustering
  • -
  • Reliable end-to-end messaging without persistent stores
  • -
  • Use a message broker only when you need store-and-forward semantics
  • -
-
-
-

1.3. Features.

-
    -
  • Can be deployed stand-alone or in a network of routers -- Supports arbitrary network topology - no restrictions on redundancy -- Automatic route computation - adjusts quickly to changes in topology
  • -
  • Provides remote access to brokers or other AMQP servers
  • -
  • Security
  • -
-
-
- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/2bb1bc0e/input/releases/qpid-dispatch-master/book/link_routing.html.in ---------------------------------------------------------------------- diff --git a/input/releases/qpid-dispatch-master/book/link_routing.html.in b/input/releases/qpid-dispatch-master/book/link_routing.html.in deleted file mode 100644 index a770baa..0000000 --- a/input/releases/qpid-dispatch-master/book/link_routing.html.in +++ /dev/null @@ -1,131 +0,0 @@ - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org