These are chat archives for NimbusAPI/Nimbus

16th
Feb 2016
johnknoop
@johnknoop
Feb 16 2016 14:11
After some further reading, it appears ASB is just looking at MessageId to identify duplicates. The effect I wan't to achieve would require some other equality property. Perhaps the API could be something like:
_bus.SendAt(command: command, time: DateTimeOffset.Now.AddDays(1).Date, preventDuplicatesOf: cmd => new { cmd.Property1, cmd.Property2 })
and Nimbus would then compute a hash sum of Property1 and Property2 along with number of ticks since unix epoch, and set this as the MessageId.
oh, nevermind the number of ticks. that would defeat the purpose :D