Uses of Interface
org.springframework.data.mongodb.core.messaging.Subscription
Package
Description
MongoDB specific messaging support for listening to eg.
-
Uses of Subscription in org.springframework.data.mongodb.core.messaging
Modifier and TypeMethodDescription<S,
T> Subscription DefaultMessageListenerContainer.register
(SubscriptionRequest<S, ? super T, ? extends SubscriptionRequest.RequestOptions> request, Class<T> bodyType) <S,
T> Subscription DefaultMessageListenerContainer.register
(SubscriptionRequest<S, ? super T, ? extends SubscriptionRequest.RequestOptions> request, Class<T> bodyType, org.springframework.util.ErrorHandler errorHandler) DefaultMessageListenerContainer.register
(SubscriptionRequest request, Task task) <S,
T> Subscription MessageListenerContainer.register
(SubscriptionRequest<S, ? super T, ? extends SubscriptionRequest.RequestOptions> request, Class<T> bodyType) Register a newSubscriptionRequest
in the container.<S,
T> Subscription MessageListenerContainer.register
(SubscriptionRequest<S, ? super T, ? extends SubscriptionRequest.RequestOptions> request, Class<T> bodyType, org.springframework.util.ErrorHandler errorHandler) Register a newSubscriptionRequest
in the container.default <T> Subscription
MessageListenerContainer.register
(SubscriptionRequest<T, Object, ? extends SubscriptionRequest.RequestOptions> request) Register a newSubscriptionRequest
in the container.Modifier and TypeMethodDescriptionDefaultMessageListenerContainer.lookup
(SubscriptionRequest<?, ?, ?> request) MessageListenerContainer.lookup
(SubscriptionRequest<?, ?, ?> request) Lookup the givenSubscriptionRequest
within the container and return the associatedSubscription
if present.Modifier and TypeMethodDescriptionvoid
DefaultMessageListenerContainer.remove
(Subscription subscription) void
MessageListenerContainer.remove
(Subscription subscription) Unregister a givenSubscription
from the container.