最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

rabbitmq - MassTransit set a specific the faultMessage exchange name - Stack Overflow

programmeradmin0浏览0评论

I have two services using the same message models and working with MT + RabbitMQ I set each service consumer to have its own messages using a routing key. in case of exception MT will publish a Fault to a default exchange according to the message type, which of course is common in both services due to using the same models package.

I currently check if FaultedByService in order not to handle one service faults in the other but I am trying to figure out how to specify each one a specific fault exchange or better to set an appropriate routing key when the fault is generated by MT and then have the faulted exchange to be topic rather than fanout binded using the routing keys.

is that possible ? if yes, how can it be done ?

Many thanks

发布评论

评论列表(0)

  1. 暂无评论