Andy
Andy

Reputation: 764

WCF: How to change the processing order of messages?

My wcf-service must process messages from clients in a specific order. If messages contain the same tag (defined, for example, as a parameter of the operation), these messages must be processed sequentially, they can not be processed simultaneously in different threads. Messages with the same tag may be obtained from different clients. How to implement this requirement?

Upvotes: 1

Views: 61

Answers (1)

tom redfern
tom redfern

Reputation: 31750

There is an integration design pattern called Resequencer which describes what you will need to do to implement ordered delivery for your messages.

Upvotes: 1

Related Questions