Class DefaultMessageListenerContainer

java.lang.Object
org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
All Implemented Interfaces:
Lifecycle, Phased, SmartLifecycle, MessageListenerContainer

public class DefaultMessageListenerContainer extends Object implements MessageListenerContainer
Simple Executor based MessageListenerContainer implementation for running tasks like listening to MongoDB Change Streams and tailable cursors.
This message container creates long-running tasks that are executed on Executor.
Since:
2.1
Author:
Christoph Strobl, Mark Paluch