public class DefaultSubscriptionRegistry extends AbstractSubscriptionRegistry
SubscriptionRegistry
.logger
Constructor and Description |
---|
DefaultSubscriptionRegistry() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSubscriptionInternal(String sessionId,
String subsId,
String destination,
Message<?> message) |
protected MultiValueMap<String,String> |
findSubscriptionsInternal(String destination,
Message<?> message) |
AntPathMatcher |
getPathMatcher() |
protected void |
removeSubscriptionInternal(String sessionId,
String subscriptionId,
Message<?> message) |
void |
setPathMatcher(AntPathMatcher pathMatcher) |
String |
toString() |
void |
unregisterAllSubscriptions(String sessionId)
Remove all subscriptions associated with the given sessionId.
|
findSubscriptions, registerSubscription, unregisterSubscription
public void setPathMatcher(AntPathMatcher pathMatcher)
pathMatcher
- the pathMatcher to setpublic AntPathMatcher getPathMatcher()
protected void addSubscriptionInternal(String sessionId, String subsId, String destination, Message<?> message)
addSubscriptionInternal
in class AbstractSubscriptionRegistry
protected void removeSubscriptionInternal(String sessionId, String subscriptionId, Message<?> message)
removeSubscriptionInternal
in class AbstractSubscriptionRegistry
public void unregisterAllSubscriptions(String sessionId)
SubscriptionRegistry
unregisterAllSubscriptions
in interface SubscriptionRegistry
unregisterAllSubscriptions
in class AbstractSubscriptionRegistry
protected MultiValueMap<String,String> findSubscriptionsInternal(String destination, Message<?> message)
findSubscriptionsInternal
in class AbstractSubscriptionRegistry