Created
November 27, 2012 17:01
-
-
Save kijanawoodard/4155505 to your computer and use it in GitHub Desktop.
NServiceBus Endpoint for Distributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ConfiguringTheDistributorWithTheFluentApi : IConfigureThisEndpoint, AsA_Publisher | |
| { | |
| public void Init() | |
| { | |
| Configure.With() | |
| .DefineEndpointName(ConfigurationManager.AppSettings["NServiceBus.Instance"]) | |
| .RunDistributorWithNoWorkerOnItsEndpoint(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to add IWantCustomInitialization as well in order for the Init() to be called