Configure the PathMatcher to use to match the destinations of incoming
messages to {@code @MessageMapping} and {@code @SubscribeMapping} methods.
<p>By default {@link hunt.framework.util.AntPathMatcher} is configured.
However applications may provide an {@code AntPathMatcher} instance
customized to use "." (commonly used in messaging) instead of "/" as path
separator or provide a completely different PathMatcher implementation.
<p>Note that the configured PathMatcher is only used for matching the
portion of the destination after the configured prefix. For example given
application destination prefix "/app" and destination "/app/price.stock.**",
the message might be mapped to a controller with "price" and "stock.**"
as its type and method-level mappings respectively.
<p>When the simple broker is enabled, the PathMatcher configured here is
also used to match message destinations when brokering messages.
@since 4.1
@see hunt.stomp.simp.broker.DefaultSubscriptionRegistry#setPathMatcher
Configure the PathMatcher to use to match the destinations of incoming messages to {@code @MessageMapping} and {@code @SubscribeMapping} methods. <p>By default {@link hunt.framework.util.AntPathMatcher} is configured. However applications may provide an {@code AntPathMatcher} instance customized to use "." (commonly used in messaging) instead of "/" as path separator or provide a completely different PathMatcher implementation. <p>Note that the configured PathMatcher is only used for matching the portion of the destination after the configured prefix. For example given application destination prefix "/app" and destination "/app/price.stock.**", the message might be mapped to a controller with "price" and "stock.**" as its type and method-level mappings respectively. <p>When the simple broker is enabled, the PathMatcher configured here is also used to match message destinations when brokering messages. @since 4.1 @see hunt.stomp.simp.broker.DefaultSubscriptionRegistry#setPathMatcher