Search code examples
azurefilterazureservicebussubscription

Azure Service Bus Subscription Filter on message body


I would like to create a subscription based on the content of a Message. Is this possible? I am trying to get away from having to add a custom property.

Thank you


Solution

  • It's not possible. Subscriptions can only filter based on standard (system) and custom (user) properties. If you have the data in the body/payload that needs to participate in filtering, you will need to promote it to the header.