void PersistMessage(MessagePayload toInput) { Logger.Debug("Caching message payload {0}", toInput.Id); toInput.SetPersistenceId(messageCache.Address, messageCache.UseType); messageCache.AddMessageAndIncrementSequence(toInput); }
void StampLocalPersistenceIdOnMessage(MessagePayload toInput) { toInput.SetPersistenceId(messageCache.Address, messageCache.UseType); }