[ 
https://issues.apache.org/jira/browse/DISPATCH-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16850677#comment-16850677
 ] 

ASF GitHub Bot commented on DISPATCH-1338:
------------------------------------------

PaulRMellor commented on pull request #512: DISPATCH-1338: Restructure Dispatch 
Router book for edge router
URL: https://github.com/apache/qpid-dispatch/pull/512#discussion_r288451351
 
 

 ##########
 File path: docs/books/user-guide/modules/connecting-routers-clients.adoc
 ##########
 @@ -0,0 +1,79 @@
+////
+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
+////
+
+// Module is included in the following assemblies:
+//
+// configuring-network-connections.adoc
+
+[id='connecting-routers-clients-{context}']
+= Connecting routers and clients
+
+You can enable connections between a router and a client. You can configure 
the router to either listen for connections from a client, or to initiate 
connections to a client.
+
+Once the connection is enabled on the router, clients can connect to it using 
the same methods they use to connect to a broker. From the client's 
perspective, the router connection and link establishment are identical to a 
broker connection and link establishment.
+
+.Procedure
+
+include::{FragmentDir}/fragment-router-open-config-file-step.adoc[]
+
+. Do one of the following:
+
+** If the router should listen for connections from the client, add a 
`listener`.
++
+--
+[options="nowrap",subs="+quotes"]
+----
+listener {
+    host: primary.example.com
+    port: 5672
+    role: normal
+    failoverUrls: secondary.example.com:20000, tertiary.example.com
+    ...
+}
+----
+
+`host`:: Either an IP address (IPv4 or IPv6) or hostname on which the router 
should listen.
+`port`:: The port number or symbolic service name on which the router should 
listen.
+`role`:: The role of the connection. Specify `normal` to indicate that this 
connection should be used for message delivery for AMQP clients.
+`failoverUrls` (optional):: A comma-separated list of backup URLs the client 
can use to reconnect if the established connection is lost. Each URL should use 
the following form:
++
+`[(amqp|amqps|ws|wss)://](__HOST__|__IP ADDRESS__)[:port]`
++
+For more information, see xref:connection-failover-router[].
+--
+
+** If the router should initiate a connection to the client, add a `connector`.
++
+--
+The router will use this `connector` to initiate the connection, but will not 
create any links. Links are only created by the client that accepts the 
connection.
+
+[options="nowrap",subs="+quotes"]
+----
+connector {
+    host: 192.0.2.10
+    port: 6000
+    role: normal
+    ...
+}
+----
+
+`host`:: Either an IP address (IPv4 or IPv6) or hostname to which the router 
should connect.
 
 Review comment:
   ```suggestion
   `host`:: An IP address (IPv4 or IPv6) or hostname to which the router will 
connect.
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Improvements to edge router documentation
> -----------------------------------------
>
>                 Key: DISPATCH-1338
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1338
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Ben Hardesty
>            Priority: Major
>
> Restructure the doc for edge router.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to