You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2020/08/18 15:55:58 UTC

[GitHub] [qpid-dispatch] pwright commented on a change in pull request #770: Dispatch 1585 - Add vhost aliases for configuration sharing

pwright commented on a change in pull request #770:
URL: https://github.com/apache/qpid-dispatch/pull/770#discussion_r472304237



##########
File path: docs/books/modules/user-guide/creating-vhost-policies.adoc
##########
@@ -54,6 +55,11 @@ The literal hostname of the vhost (the messaging endpoint) or a pattern that mat
 +
 If `enableVhostNamePatterns` is set to `true`, you can use wildcards to specify a pattern that matches a range of hostnames. For more information, see xref:vhost-policy-hostname-pattern-matching-rules-{context}[].
 
+`aliases`::
+Alternative literal hostnames or patterns that direct the router to use the settings in this vhost. Alias hostnames that match an incoming connection will use the settings defined in the contained vhost. In a multi-tenant configuration a connection to a vhost alias will use the base vhost hostname for the tenant namespace. In this example if a connection is directed to vhost `example.org` then the settings from the base vhost hostname `example.com` will apply and `example.com` will be the tenant namespace. Vhost `hostname` and `aliases` settings from all vhosts are shared in a single list and must be unique.

Review comment:
       Alternative literal hostnames or patterns that direct the router to use the settings in this vhost. 
   Alias hostnames that match an incoming connection use the settings defined in the vhost section. 
   In a multi-tenant configuration, a connection to a vhost alias uses the base vhost hostname for the tenant namespace. 
   In this example if a connection is directed to vhost `example.org` then the settings from the base vhost hostname `example.com` apply and `example.com` becomes the tenant namespace. 
   Vhost `hostname` and `aliases` settings from all vhosts must be unique.
   
   @ChugR  Not sure if my second sentence is correct?




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org