Home > database >  How do you force ordering of messages in an Azure Service Bus queue or topic?
How do you force ordering of messages in an Azure Service Bus queue or topic?

Time:09-16

Is there already a native solution?

CodePudding user response:

See Service Bus message sessions. For the Azure.Messaging.ServiceBus SDK, here's an example.

The blanket statement about avoiding ordered messaging is not wrong in general, but there are scenarios were order must be guaranteed. Message sessions is a native ASB feature providing that.

  • Related