Home:ALL Converter>Service bus Topic subscription filter

Service bus Topic subscription filter

Ask Time:2018-04-04T09:31:52         Author:Ramppy Dumppy

Json Formatter

I am working on an project that publish message to a service bus topic. I have two subscriptions on my topic. Is there a way to filter the message that my subscriber will listen?

Assuming this is my message text.

{
"Data" : {
   "Name": "Johnny Cruz"
   "Gender": "Male"
 }
}

I only want to listen to a message that has a Male gender. Is this something configurable in Topic?

Author:Ramppy Dumppy,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/49641383/service-bus-topic-subscription-filter
yy