Configure the name of a header that a subscription message can have for
the purpose of filtering messages matched to the subscription. The header
value is expected to be a Spring EL expression to be applied to
the headers of messages matched to the subscription.
<p>For example:
<pre>
headers.foo == 'bar'
</pre>
<p>By default this is set to "selector". You can set it to a different
name, or to {@code null} to turn off support for a selector header.
@param selectorHeaderName the name to use for a selector header
@since 4.3.17
@see #setSubscriptionRegistry
@see DefaultSubscriptionRegistry#setSelectorHeaderName(string)
Configure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription. The header value is expected to be a Spring EL expression to be applied to the headers of messages matched to the subscription. <p>For example: <pre> headers.foo == 'bar' </pre> <p>By default this is set to "selector". You can set it to a different name, or to {@code null} to turn off support for a selector header. @param selectorHeaderName the name to use for a selector header @since 4.3.17 @see #setSubscriptionRegistry @see DefaultSubscriptionRegistry#setSelectorHeaderName(string)