繁体   English   中英

Azure 服务总线和公共交通,相同的消息,不同的命名空间

[英]Azure service bus and masstransit, same message, different namespace

i'm using Azure service bus with masstransit it works perfectly if the message class type is inherited from the same project, but once the message is sent from another .net projet, so different namespace in "messageType" property, it goes automatically to deadletter and我的消费者无法捕捉到它,这种情况下的解决方案是什么? 因为我不能要求不同的发布者(不同的团队)为该消息类型 class 放置相同的命名空间,谢谢

文档中:

重要的

MassTransit 使用完整的类型名称,包括命名空间,用于消息契约。 在两个单独的项目中创建相同的消息类型时,命名空间必须匹配,否则消息将不会被消费。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM