Fork me on GitHub

Setup of the distributed event broker

The usage of the distributed event broker is astonishingly simple when you have prepared your transport layer. Basically it is only two lines of code.

1
2
3
4
5
6
// Use existing event broker or create special one for distributed events
var eventBroker = new EventBroker();
 
// Use extension method AddDistributedExtension
var extension = // new TechnologySpecificDistributedEventBrokerExtension
eventBroker.AddDistributedExtension(extension);
Back to Top