Uses of Class
org.springframework.integration.mongodb.dsl.MongoDbOutboundGatewaySpec
Packages that use MongoDbOutboundGatewaySpec
Package
Description
Provides MongoDB Components support for Java DSL.
-
Uses of MongoDbOutboundGatewaySpec in org.springframework.integration.mongodb.dsl
Subclasses with type arguments of type MongoDbOutboundGatewaySpec in org.springframework.integration.mongodb.dslModifier and TypeClassDescriptionclassAMessageHandlerSpecextension for the MongoDb Outbound endpointMongoDbOutboundGateway.Methods in org.springframework.integration.mongodb.dsl that return MongoDbOutboundGatewaySpecModifier and TypeMethodDescriptionMongoDbOutboundGatewaySpec.collectionCallback(MessageCollectionCallback<P> collectionCallback) Reference to an instance ofMessageCollectionCallbackwhich specifies the database operation to execute in the request message context.MongoDbOutboundGatewaySpec.collectionName(String collectionName) Identify the name of the MongoDb collection to use.MongoDbOutboundGatewaySpec.collectionNameExpression(String collectionNameExpression) A SpEL expression which should resolve to aStringvalue identifying the name of the MongoDb collection to use.MongoDbOutboundGatewaySpec.collectionNameFunction(Function<Message<P>, String> collectionNameFunction) MongoDbOutboundGatewaySpec.entityClass(Class<?> entityClass) The fully qualified name of the entity class to be passed tofind(..)orfindOne(..)method inMongoOperations.MongoDbOutboundGatewaySpec.expectSingleResult(boolean expectSingleResult) This parameter indicates that only one result object will be returned from the database by using afindOnequery.static MongoDbOutboundGatewaySpecMongoDb.outboundGateway(MongoOperations mongoTemplate) Create aMongoDbOutboundGatewaySpecbuilder instance based on the providedMongoOperations.static MongoDbOutboundGatewaySpecMongoDb.outboundGateway(MongoDatabaseFactory mongoDbFactory, MongoConverter mongoConverter) Create aMongoDbOutboundGatewaySpecbuilder instance based on the providedMongoDatabaseFactoryandMongoConverter.AStringrepresentation of a MongoDbQuery(e.g., query("{'name' : 'Bob'}")).MongoDbOutboundGatewaySpec.queryExpression(String queryExpression) A SpEL expression which should resolve to aStringquery (please refer to the 'query' property), or to an instance of MongoDbQuery(e.q., queryExpression("new BasicQuery('{''address.state'' : ''PA''}')")).MongoDbOutboundGatewaySpec.queryFunction(Function<Message<P>, Query> queryFunction)