Class MongoDbChangeStreamMessageProducerSpec

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,P>
org.springframework.integration.dsl.MessageProducerSpec<MongoDbChangeStreamMessageProducerSpec,MongoDbChangeStreamMessageProducer>
org.springframework.integration.mongodb.dsl.MongoDbChangeStreamMessageProducerSpec
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<MongoDbChangeStreamMessageProducer>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class MongoDbChangeStreamMessageProducerSpec extends org.springframework.integration.dsl.MessageProducerSpec<MongoDbChangeStreamMessageProducerSpec,MongoDbChangeStreamMessageProducer>
A MessageProducerSpec for tne MongoDbChangeStreamMessageProducer.
Since:
5.3
  • Field Summary

    Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    PARSER, target

    Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct a builder based on an initial MongoDbChangeStreamMessageProducerSpec.
  • Method Summary

    Modifier and Type
    Method
    Description
    collection(String collection)
    Configure a collection to subscribe for change events.
    domainType(Class<?> domainType)
    Configure a domain type to convert change event body into.
    extractBody(boolean extractBody)
    Configure a flag to extract body from a change event or use event as a payload.
    options(org.springframework.data.mongodb.core.ChangeStreamOptions options)
    Configure a ChangeStreamOptions.

    Methods inherited from class org.springframework.integration.dsl.MessageProducerSpec

    autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, outputChannel, outputChannel, phase, sendTimeout, shouldTrack

    Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    _this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop

    Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait