public void AllMessagesTo(Uri uri) { var subscription = new Subscription { Scope = RoutingScope.All, Uri = uri }; _settings.Messaging(x => x.AddSubscription(subscription)); }
public void To(Uri address) { var subscription = new Subscription { Match = _match, Scope = _routingScope, Uri = address }; _settings.Messaging(x => x.AddSubscription(subscription)); }