Example usage for org.springframework.data.mongodb.core.messaging MessageListenerContainer interface-usage

List of usage examples for org.springframework.data.mongodb.core.messaging MessageListenerContainer interface-usage

Introduction

In this page you can find the example usage for org.springframework.data.mongodb.core.messaging MessageListenerContainer interface-usage.

Usage

From source file org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer.java

/**
 * Simple {@link Executor} based {@link MessageListenerContainer} implementation for running {@link Task tasks} like
 * listening to MongoDB <a href="https://docs.mongodb.com/manual/changeStreams/">Change Streams</a> and tailable
 * cursors.
 * <p />
 * This message container creates long-running tasks that are executed on {@link Executor}.