'MassTransit - schedule message with custom headers
I schedule messages using IMessageScheduler interface. I need to set some custom headers for scheduled messages but I cannot find a way to do that.
For standard (not-scheduled) send/publish I do this using Action<SendContext<T>>/Action<PublishContext<T>> callbacks but I cannot see any similar arguments in IMessageScheduler interface. Is there any possibility to set headers for scheduled messages?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
