Subscription rules

A subscription defines what type of message the subscriber is willing to receive from a Service Bus topic. Each Service Bus topic has one or more message listeners (subscribers) polling the Service Bus topic based on the subscription rule, and every subscription rule consists of a predefined conditional statement.

Subscription rule execution is done through the message properties set by the message publisher application or client when publishing a message to a Service Bus topic endpoint. Every newly created topic subscription has an initial default value, and if we do not explicitly define the filter condition, the default filter condition is always set to true.

Service Bus supports three filter conditions:

  • Boolean filters ...

Get Serverless Integration Design Patterns with Azure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.