Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
udidahan committed Nov 8, 2015
1 parent dada911 commit 282b9f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nservicebus/gateway/multi-site-deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<!-- import GatewayChannelsAppConfig -->

If you prefer to specify this physical routing in code:

#### Using a IConfigurationProvider

Expand All @@ -144,10 +149,6 @@ Then at configuration time:
<!-- import UseCustomConfigurationSourceForGatewayChannelsConfig -->


#### Using App.Config

<!-- import GatewayChannelsAppConfig -->

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.

0 comments on commit 282b9f4

Please sign in to comment.