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