簡體   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