public final class MongoDb extends Object
public static MongoDbOutboundGatewaySpec outboundGateway(MongoDatabaseFactory mongoDbFactory, MongoConverter mongoConverter)
MongoDbOutboundGatewaySpec
builder instance
based on the provided MongoDatabaseFactory
and MongoConverter
.mongoDbFactory
- the MongoDatabaseFactory
to use.mongoConverter
- the MongoConverter
to use.MongoDbOutboundGatewaySpec
instancepublic static MongoDbOutboundGatewaySpec outboundGateway(MongoOperations mongoTemplate)
MongoDbOutboundGatewaySpec
builder instance
based on the provided MongoOperations
.mongoTemplate
- the MongoOperations
to use.MongoDbOutboundGatewaySpec
instancepublic static ReactiveMongoDbMessageHandlerSpec reactiveOutboundChannelAdapter(ReactiveMongoDatabaseFactory mongoDbFactory)
ReactiveMongoDbMessageHandlerSpec
builder instance
based on the provided ReactiveMongoDatabaseFactory
.mongoDbFactory
- the ReactiveMongoDatabaseFactory
to use.MongoDbOutboundGatewaySpec
instancepublic static ReactiveMongoDbMessageHandlerSpec reactiveOutboundChannelAdapter(ReactiveMongoOperations mongoTemplate)
ReactiveMongoDbMessageHandlerSpec
builder instance
based on the provided ReactiveMongoOperations
.mongoTemplate
- the ReactiveMongoOperations
to use.ReactiveMongoDbMessageHandlerSpec
instancepublic static ReactiveMongoDbMessageSourceSpec reactiveInboundChannelAdapter(ReactiveMongoDatabaseFactory mongoDbFactory, String query)
ReactiveMongoDbMessageSourceSpec
builder instance
based on the provided ReactiveMongoDatabaseFactory
.mongoDbFactory
- the ReactiveMongoDatabaseFactory
to use.query
- the MongoDb queryReactiveMongoDbMessageSourceSpec
instancepublic static ReactiveMongoDbMessageSourceSpec reactiveInboundChannelAdapter(ReactiveMongoDatabaseFactory mongoDbFactory, Query query)
ReactiveMongoDbMessageSourceSpec
builder instance
based on the provided ReactiveMongoDatabaseFactory
.mongoDbFactory
- the ReactiveMongoDatabaseFactory
to use.query
- the MongoDb query DSL objectReactiveMongoDbMessageSourceSpec
instancepublic static ReactiveMongoDbMessageSourceSpec reactiveInboundChannelAdapter(ReactiveMongoOperations mongoTemplate, String query)
ReactiveMongoDbMessageSourceSpec
builder instance
based on the provided ReactiveMongoOperations
.mongoTemplate
- the ReactiveMongoOperations
to use.query
- the MongoDb queryReactiveMongoDbMessageSourceSpec
instancepublic static ReactiveMongoDbMessageSourceSpec reactiveInboundChannelAdapter(ReactiveMongoOperations mongoTemplate, Query query)
ReactiveMongoDbMessageSourceSpec
builder instance
based on the provided ReactiveMongoOperations
.mongoTemplate
- the ReactiveMongoOperations
to use.query
- the MongoDb query DSL objectReactiveMongoDbMessageSourceSpec
instancepublic static MongoDbChangeStreamMessageProducerSpec changeStreamInboundChannelAdapter(ReactiveMongoOperations mongoOperations)
MongoDbChangeStreamMessageProducerSpec
builder instance
based on the provided ReactiveMongoOperations
.mongoOperations
- the ReactiveMongoOperations
to use.MongoDbChangeStreamMessageProducerSpec
instance