Skip to content

Commit

Permalink
Clarify pub/sub support for gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
janovesk authored and DavidBoike committed Dec 1, 2017
1 parent 481f825 commit 61f450b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nservicebus/gateway/multi-site-deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,13 @@ partial: codefirstsites

NServiceBus automatically sets the required headers to enable sending messages back over the gateway using the familiar `Reply`.

NOTE: All cross-site interactions are performed internally to a service, so publish and subscribe are not supported across gateways.
NOTE: The gateway is opinionated. It considers cross-site interactions through it to be inside the boundaries of a logical service.

This internal communication between logically connected, but separately deployed components is restricted to use send semantics. The gateway exposes this through the `SendToSites()` method.

Since publish/subscribe semantics are intended for communication between different logical services; the gateway does not support it. Publish/subscribe is fine between the endpoints on the same site, however.

In a scenario with multiple logical services deployed cross-site, run separate gateways for each one.


## Securing the gateway with SSL
Expand Down

0 comments on commit 61f450b

Please sign in to comment.