Search code examples
nservicebus

Rename NServiceBus.Host.exe


This may very well be a silly question, but I cannot find any documentation on this or where anyone has really asked this question except here NServiceBus Yahoo Groups. I want to rename my NServiceBus.Host.exe, even though they have different names in the services group when I install the service, in task management all the services are NServiceBus.Host.exe. I have tried renaming the exe, but of course this has issues with deployment, and it simply will not run as per the url I had posted, encountering an endpoint config error.

I've looked through the configuration options and I do not see anything that looks as such an option, if anyone knows a good way to do this, that would be great. Thanks!


Solution

  • That sounds like not a very good idea. That road is bound to be riddled with potholes.

    In order to tell the processes apart in Task Manager, there's a pretty simple solution.

    Go to View -> Select Columns, and add "Command Line" which is just a few up from the bottom.

    This will show you the full path to the specific NServiceBus.Host.exe instance, along with the command line arguments, which can give you valuable information like the Profiles that were used.