[ https://issues.apache.org/jira/browse/DISPATCH-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16850681#comment-16850681 ]
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_r288452262 ########## File path: docs/books/user-guide/modules/connecting-routers-external-amqp-containers.adoc ########## @@ -0,0 +1,76 @@ +//// +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-external-amqp-containers-{context}'] += Connecting routers and external AMQP containers + +You can connect a router to an external AMQP container (such as a message broker). You can configure the router to either listen for connections from the AMQP container, or to initiate connections to it. + +.Procedure + +include::{FragmentDir}/fragment-router-open-config-file-step.adoc[] + +. Do one of the following: + +** If the router should listen for connections from the AMQP container, add a `listener`. ++ +-- +This example creates a `listener` that accepts connections from a broker. The addresses on the broker will be available for routing only after the broker has created the connection. + +[options="nowrap",subs="+quotes"] +---- +listener { + name: my-broker + host: 0.0.0.0 + port: 5672 + role: route-container + ... +} +---- + +`name`:: The name of the `listener`. Specify a name that describes the entity to which the router will connect. +`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. Review comment: ```suggestion `port`:: The port number or symbolic service name on which the router will listen. ``` ---------------------------------------------------------------- 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: us...@infra.apache.org > 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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org