I would need to use the ScheduledEnqueueTimeUtc
property on the Microsoft.Azure.ServiceBus.Message
. Are there any possibilities available in the current code to set this property?
I would think that current code:
need to be extended with a possible hook that gives the Microsoft.Azure.ServiceBus.Message
with some context in order to alter some properties.
Or would it be possible to replace the ServiceBusMqMessageProducer
class with my own implementation?
I’ve added a new PublishMessageFilter
you can use this commit.
This change is available from v5.5.1 that’s now available on MyGet.
Okay thanks!
Then I can make a new object inheriting from IMessage
where these properties are set, and then in the PublishMessageFilter
I can map these upon the correct object.