The problem is in your Init code...
.DefineEndpointName(ConfigurationManager.AppSettings["InputQueue"])
I don't see that in the screenshot of your Web.config you provided, but based on the error, I'm guessing you have that defined as "administration.worker@localhost"
. This should be only "administration"
.
Endpoint name and input queue are not the same thing. Starting from your endpoint name, NServiceBus infers the names of all the queues from there. So input queue is {EndpointName}@localhost
. If you're running a master node with an attached worker, the worker's input queue is {EndpointName}.Worker@localhost
. The Timeout queue is {EndpointName}.Timeouts@localhost
, etc.
Of course you don't usually have to define the endpoint name in an NServiceBus.Host endpoint, but it looks like you are self-hosting in a web application.
Here's more information on the NServiceBus Input Queue / Endpoint Name from the docs.