NServiceBus setting time to be received

北慕城南 提交于 2019-12-12 04:34:39

问题


Can you set TTBR (Time To Be Received) on a message sent using NServiceBus?


回答1:


Absolutely - put the TimeToBeReceived attribute on the relevant message class. Here's an example setting it to 10 minutes:

[TimeToBeReceived("00:10:00")] 


来源:https://stackoverflow.com/questions/2855900/nservicebus-setting-time-to-be-received

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!