What is the best way to route NServiceBus messages to specific clients?
问题 Let's say I have a ClientRequestMessage message that contains a request for a specific Client . A web application will generate these requests and they need to be sent to the correct Client for handling. I can think of a few options for this. I could have a single queue that all messages go to and specific client handlers check a property (like ClientId ) to decide whether they care about it. This feels wrong on many levels to me though. I could publish a message to all of the clients and