Method: Azure::ServiceBus::Rule#filter

Defined in:
lib/azure/service_bus/rule.rb

#filterObject

Filter: SqlFilter, TrueFilter /FalseFiilter, CorrelationFilter

The Filter property references an instance of Filter that is evaluated against a message. The following types of filters are provided:

SqlFilter - A type of Filter that is represented by SQL expression. For detailed information about SqlFilter
            syntax, see SqlFilter.SqlExpression Property.

TrueFilter/FalseFiilter - A handy shortcut for always returning true or false. They are a type of SqlFilter.

CorrelationFilter: A type of Filter that matches CorrelationId property of BrokeredMessage.


65
66
67
# File 'lib/azure/service_bus/rule.rb', line 65

def filter
  RuleAspect.from_hash(description['Filter'])
end