SubscriptionRegistry that
looks up information in messages but delegates to abstract methods for the
actual storage and retrieval.
| Modifier and Type | Field and Description |
|---|---|
| private static final MultiValueMap | |
| protected final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | addSubscriptionInternal(String sessionId, String subscriptionId, String destination, Message<?> message)
|
| public final MultiValueMap | findSubscriptions(Message<?>
the message message)Implements org. Find all subscriptions that should receive the given message. |
| protected abstract MultiValueMap | |
| public final void | registerSubscription(Message<?>
the subscription request message)Implements org. Register a subscription represented by the given message. |
| protected abstract void | |
| public final void | unregisterSubscription(Message<?>
the request to unsubscribe message)Implements org. Unregister a subscription. |
| EMPTY_MAP | back to summary |
|---|---|
| private static final MultiValueMap<String, String> EMPTY_MAP | |
| logger | back to summary |
|---|---|
| protected final Log logger | |
| AbstractSubscriptionRegistry | back to summary |
|---|---|
| public AbstractSubscriptionRegistry() | |
| addSubscriptionInternal | back to summary |
|---|---|
| protected abstract void addSubscriptionInternal(String sessionId, String subscriptionId, String destination, Message<?> message) | |
| findSubscriptions | back to summary |
|---|---|
| public final MultiValueMap Implements org. Doc from org. Find all subscriptions that should receive the given message. The map returned is safe to iterate and will never be modified.
| |
| findSubscriptionsInternal | back to summary |
|---|---|
| protected abstract MultiValueMap | |
| registerSubscription | back to summary |
|---|---|
| public final void registerSubscription(Message<?> message) Implements org. Doc from org. Register a subscription represented by the given message. | |
| removeSubscriptionInternal | back to summary |
|---|---|
| protected abstract void removeSubscriptionInternal(String sessionId, String subscriptionId, Message<?> message) | |
| unregisterSubscription | back to summary |
|---|---|
| public final void unregisterSubscription(Message<?> message) Implements org. Doc from org. Unregister a subscription. | |