Uses of Interface
org.springframework.data.mongodb.core.messaging.SubscriptionRequest
Package
Description
MongoDB specific messaging support for listening to eg.
-
Uses of SubscriptionRequest in org.springframework.data.mongodb.core.messaging
Modifier and TypeClassDescriptionclass
SubscriptionRequest
implementation to be used for listening to Change Streams via aMessageListenerContainer
using the synchronous MongoDB Java driver.class
SubscriptionRequest
implementation to be used to listen to query results in a Capped Collection using a Tailable Cursor.Modifier and TypeMethodDescriptionDefaultMessageListenerContainer.lookup
(SubscriptionRequest<?, ?, ?> request) MessageListenerContainer.lookup
(SubscriptionRequest<?, ?, ?> request) Lookup the givenSubscriptionRequest
within the container and return the associatedSubscription
if present.<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, 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, 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.