Skip to content

IMessageStore extended with method SetAndIncrNextSenderMsgSeqNum, resolves issue #987#993

Open
asmeisne wants to merge 2 commits intoconnamara:masterfrom
asmeisne:issue/987
Open

IMessageStore extended with method SetAndIncrNextSenderMsgSeqNum, resolves issue #987#993
asmeisne wants to merge 2 commits intoconnamara:masterfrom
asmeisne:issue/987

Conversation

@asmeisne
Copy link

The IMessageStore interface is extended with a new method SetAndIncrNextSenderMsgSeqNum with a default implementation to ensure backwards compatibility. This new method now is used in Session.Persist() to allow execution of methods IMessageStore.Set() and IMessageStore.IncrNextSenderMsgSeqNum() in one transaction. Two unit tests for FileStore and MemoryStore are added.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants