Home > OS >  Azure service bus - combining SQL and Correlation filter
Azure service bus - combining SQL and Correlation filter

Time:03-04

I couldn't find in in the docs, but the behaviour is not what I would expect.
Here it's written:

When specifying multiple match properties, the filter combines them as a logical AND condition, meaning for the filter to match, all conditions must match.

But it seems that it only concerns multiple correlation filters.
When I've defined SQL filter along with correlation filter it seemed like only 1 was used.
Can anyone point to specific place in docs where it's defined? I.e. how it exactly works - which filter is evaluated.

CodePudding user response:

When defining multiple rules for a subscription, the rules are OR-ed. I.e. it's enough for a single rule to be evaluated as truthy for the message to be sent to a subscription.

  • Related