user1453927
user1453927

Reputation: 79

Distributor and worker end point queue in same machine

I am using NServiceBus 3.2.2.0, trying to test distributor and worker in same machine. I noticed distributor is creating following queues

And worker is creating a new queue something like:

Is there a way to specify worker end point queue name instead of worker creating a queue by prefixing random string with end point queue?

Upvotes: 3

Views: 395

Answers (1)

Udi Dahan
Udi Dahan

Reputation: 12057

Since it doesn't really make sense to run a worker on the same machine as the master (distributor), NServiceBus assumes that you're doing this for test purposes only and generates this kind of queue name.

In a true distributed scenario where the worker is running on its own box, it will have the same queue name as the master. The whole idea is that you shouldn't have to make any code or config changes to go from a single machine to a scaled-out deployment.

Upvotes: 1

Related Questions