问题
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