Select exchanges containing a specific query string. If name
is not defined or empty, the search will be performed on any query string values.The search will pass if at least one value match.
Evaluation scope defines the timing where this filter will be applied.
requestHeaderReceivedFromClient This scope occurs the moment fluxzy parsed the request header receiveid from client
queryStringFilter
The following table describes the customizable properties available for this filter:
Property | Type | Description | DefaultValue |
---|---|---|---|
name | string | The query string name | |
pattern | string | The string pattern to search | |
operation | exact | contains | startsWith | endsWith | regex | The search operation performed | exact |
caseSensitive | boolean | true if the Search should be case sensitive | false |
inverted | boolean | Negate the filter result | false |
The following examples apply a comment to the filtered exchange
Select exchanges having query string id=123456
.
rules:
- filter:
typeKind: QueryStringFilter
name: id
pattern: 123456
operation: Exact
actions:
- typeKind: ApplyCommentAction
comment: filter was applied
View definition of QueryStringFilter for .NET integration.
The following filters are related to this filter: