/** * When configured, the given PathMatcher is passed down to the underlying * SubscriptionRegistry to use for matching destination to subscriptions. * <p>Default is a standard {@link org.springframework.util.AntPathMatcher}. * @since 4.1 * @see #setSubscriptionRegistry * @see DefaultSubscriptionRegistry#setPathMatcher * @see org.springframework.util.AntPathMatcher */ public void setPathMatcher(@Nullable PathMatcher pathMatcher) { this.pathMatcher = pathMatcher; initPathMatcherToUse(); }
/** * Configure a custom SubscriptionRegistry to use for storing subscriptions. * <p><strong>Note</strong> that when a custom PathMatcher is configured via * {@link #setPathMatcher}, if the custom registry is not an instance of * {@link DefaultSubscriptionRegistry}, the provided PathMatcher is not used * and must be configured directly on the custom registry. */ public void setSubscriptionRegistry(SubscriptionRegistry subscriptionRegistry) { Assert.notNull(subscriptionRegistry, "SubscriptionRegistry must not be null"); this.subscriptionRegistry = subscriptionRegistry; initPathMatcherToUse(); initCacheLimitToUse(); initSelectorHeaderNameToUse(); }
/** * When configured, the given PathMatcher is passed down to the underlying * SubscriptionRegistry to use for matching destination to subscriptions. * <p>Default is a standard {@link org.springframework.util.AntPathMatcher}. * @since 4.1 * @see #setSubscriptionRegistry * @see DefaultSubscriptionRegistry#setPathMatcher * @see org.springframework.util.AntPathMatcher */ public void setPathMatcher(@Nullable PathMatcher pathMatcher) { this.pathMatcher = pathMatcher; initPathMatcherToUse(); }
/** * Configure a custom SubscriptionRegistry to use for storing subscriptions. * <p><strong>Note</strong> that when a custom PathMatcher is configured via * {@link #setPathMatcher}, if the custom registry is not an instance of * {@link DefaultSubscriptionRegistry}, the provided PathMatcher is not used * and must be configured directly on the custom registry. */ public void setSubscriptionRegistry(SubscriptionRegistry subscriptionRegistry) { Assert.notNull(subscriptionRegistry, "SubscriptionRegistry must not be null"); this.subscriptionRegistry = subscriptionRegistry; initPathMatcherToUse(); initCacheLimitToUse(); initSelectorHeaderNameToUse(); }
/** * When configured, the given PathMatcher is passed down to the underlying * SubscriptionRegistry to use for matching destination to subscriptions. * <p>Default is a standard {@link org.springframework.util.AntPathMatcher}. * @since 4.1 * @see #setSubscriptionRegistry * @see DefaultSubscriptionRegistry#setPathMatcher * @see org.springframework.util.AntPathMatcher */ public void setPathMatcher(@Nullable PathMatcher pathMatcher) { this.pathMatcher = pathMatcher; initPathMatcherToUse(); }
/** * When configured, the given PathMatcher is passed down to the underlying * SubscriptionRegistry to use for matching destination to subscriptions. * <p>Default is a standard {@link org.springframework.util.AntPathMatcher}. * @since 4.1 * @see #setSubscriptionRegistry * @see DefaultSubscriptionRegistry#setPathMatcher * @see org.springframework.util.AntPathMatcher */ public void setPathMatcher(@Nullable PathMatcher pathMatcher) { this.pathMatcher = pathMatcher; initPathMatcherToUse(); }
/** * Configure a custom SubscriptionRegistry to use for storing subscriptions. * <p><strong>Note</strong> that when a custom PathMatcher is configured via * {@link #setPathMatcher}, if the custom registry is not an instance of * {@link DefaultSubscriptionRegistry}, the provided PathMatcher is not used * and must be configured directly on the custom registry. */ public void setSubscriptionRegistry(SubscriptionRegistry subscriptionRegistry) { Assert.notNull(subscriptionRegistry, "SubscriptionRegistry must not be null"); this.subscriptionRegistry = subscriptionRegistry; initPathMatcherToUse(); initCacheLimitToUse(); initSelectorHeaderNameToUse(); }
/** * Configure a custom SubscriptionRegistry to use for storing subscriptions. * <p><strong>Note</strong> that when a custom PathMatcher is configured via * {@link #setPathMatcher}, if the custom registry is not an instance of * {@link DefaultSubscriptionRegistry}, the provided PathMatcher is not used * and must be configured directly on the custom registry. */ public void setSubscriptionRegistry(SubscriptionRegistry subscriptionRegistry) { Assert.notNull(subscriptionRegistry, "SubscriptionRegistry must not be null"); this.subscriptionRegistry = subscriptionRegistry; initPathMatcherToUse(); initCacheLimitToUse(); initSelectorHeaderNameToUse(); }