Reputation: 1191
I have a server with several instances of the NServiceBus Generic Host installed as Windows Services to host my publishers and subscribers. Now that I am nearing the end of development, I would like to switch these services from running in the default profile (Lite) to the Integration profile for some additional testing. After reading the notes found here:
http://docs.particular.net/nservicebus/hosting/nservicebus-host/profiles
it would appear that this is possible, but I'm having trouble finding documentation on how this is done. Do I need to modify the NServiceBus.Host.exe.config file in some way, modify the app.config, or some other change to cause the service to run in a different profile?
Upvotes: 0
Views: 260
Reputation: 6050
Just provide the profile on the command line after the other options. In your case this is "NServiceBus.Integration"
Upvotes: 1