开发者

Can you have multiple input msmq queues to nServiceBus host?

开发者 https://www.devze.com 2023-01-23 07:41 出处:网络
Is there any way to configure an nServiceBus endpoint to receive mess开发者_开发问答ages from more than one queue?

Is there any way to configure an nServiceBus endpoint to receive mess开发者_开发问答ages from more than one queue?

I am looking into implementing an nServiceBus Saga which takes messages from multiple queues (one per message type). The point of which is to be able to monitor traffic for each message type.

Thanks


Not without a lot of weird hacks.

The better approach would be to deploy your saga to multiple endpoints, each one responsible for processing the messages for the queue it sits on, but cooperating through the shared saga data.


The alternative is that you have an endpoint that handles multiple message types using one queue. You can specify the order that the messages are handled in too.

0

精彩评论

暂无评论...
验证码 换一张
取 消