diff --git a/nservicebus/gateway/multi-site-deployments.md b/nservicebus/gateway/multi-site-deployments.md index 2244a2bbb13..32d6d3c1132 100644 --- a/nservicebus/gateway/multi-site-deployments.md +++ b/nservicebus/gateway/multi-site-deployments.md @@ -129,6 +129,11 @@ By default, NServiceBus uses [RavenDB](/nservicebus/ravendb/) to store the IDs b When you enable the gateway, it automatically sets up an HTTP channel to listen to `http://localhost/{name of your endpoint}`. To change this URL or add more than one incoming channel, configure `app.config`, as shown: +#### Using App.Config + + + +If you prefer to specify this physical routing in code: #### Using a IConfigurationProvider @@ -144,10 +149,6 @@ Then at configuration time: -#### Using App.Config - - - The `Default` on the first channel tells the gateway which address to attach on outgoing messages if the sender does not specify it explicitly. You can, of course, add as many channels as you like and mix all the supported channels. Follow the steps for [configuring SSL](https://msdn.microsoft.com/en-us/library/ms733768.aspx) and make sure to configure the gateway to listen on the appropriate port, as well as to contact the remote gateway on the same port.