Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Can you filter based on the content of the message

$
0
0

Hi,

I have some messages and when they are recieved they should go to subscriptions based on the Message content

1. First question is can messages be  filtered to subscriptions based on its content.

I have a topic and 2 subscriptions within that

I want to specify a filter which is based on the content ,so the message will go to the correct subscription based on the message content

For example, in my code I have

$SqlFilter = [Microsoft.ServiceBus.Messaging.SqlFilter]("(name = 'OriginBlikbx' AND origin='blikbox') OR (name = 'OriginBlikbxWrk' AND origin='blikbox-wrk')")

Is this legal syntax. I am just getting error messages that I dont really understand

[ERROR] + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceBus.NewAzureSBAuthorizationRuleCommand



Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>