public final class MongoDb extends Object
Modifier and Type | Method and Description |
---|---|
static MongoDbOutboundGatewaySpec |
outboundGateway(MongoDbFactory mongoDbFactory,
MongoConverter mongoConverter)
Create a
MongoDbOutboundGatewaySpec builder instance
based on the provided MongoDbFactory and MongoConverter . |
static MongoDbOutboundGatewaySpec |
outboundGateway(MongoOperations mongoTemplate)
Create a
MongoDbOutboundGatewaySpec builder instance
based on the provided MongoOperations . |
public static MongoDbOutboundGatewaySpec outboundGateway(MongoDbFactory mongoDbFactory, MongoConverter mongoConverter)
MongoDbOutboundGatewaySpec
builder instance
based on the provided MongoDbFactory
and MongoConverter
.mongoDbFactory
- the MongoDbFactory
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
instance