Defines a Polling Channel Adapter for the
'org.springframework.integration.mongodb.inbound.MongoDbMessageSource'
that queries data from the MongoDB collection and produces messages to the channel.
String representation of MongoDb Query (e.g.,
query="{'name' : 'Bob'}").
Please refer to MongoDb documentation for more query samples
https://www.mongodb.org/display/DOCS/Querying
This attribute is
mutually exclusive with 'query-expression' attribute.
SpEL expression which should resolve to a String query (please refer to the 'query' attribute),
or to an instance of MongoDb Query (e.q., query-expression="new BasicQuery('{''name'' : ''Bob''}').limit(2)").
This attribute is mutually exclusive with 'query' attribute.
The fully qualified name of the entity class to be passed to
find(..) or findOne(..) method MongoTemplate.
If this attribute is not provided the default value is com.mongodb.DBObject
Allows you to manage find* method of MongoTemplate is used to query MongoDb. Default value for this
attribute is 'false'. This means that we'll use find(..) method thus resulting in a Message with
payload of type List of entities identified by 'entity-class' attribute. If you want/expect a single
value set this attribute to 'true' which will result in invocation of findOne(..) method resulting in
the payload of type identified by 'entity-class' attribute (default com.mongodb.DBObject)
Configures a Consumer Endpoint for the
'org.springframework.integration.mongodb.outbound.MongoDbStoringMessageHandler' that
stores a data from incoming messages to the MongoDB collection.
Configures a Consumer Endpoint for the
'org.springframework.integration.mongodb.outbound.MongoDbOutboundGateway' for
querying a MongoDb database in response to a message on the request channel.
The response received from the database will be used to create the response
Message on the reply channel.
The Message Channel where messages will be sent in order
to query the database.
The Message Channel to which the database response will be sent.
Specify whether this outbound gateway must return a non-null value. This value is
'true' by default, and a ReplyRequiredException will be thrown when
the underlying service returns a null value.
Specifies the order for invocation when this endpoint is connected as a
subscriber to a SubscribableChannel.
String representation of a MongoDb Query (e.g.,
query="{'name' : 'Bob'}").
Please refer to MongoDb documentation for more query samples
https://www.mongodb.org/display/DOCS/Querying
This attribute is
mutually exclusive with 'query-expression' attribute.
SpEL expression which should resolve to a String query (please refer to the 'query'
attribute), or to an instance of MongoDb Query (e.q.,
query-expression="new BasicQuery('{''name'' : ''Bob''}').limit(2)").
The fully qualified name of the entity class to be passed to
find(..) or findOne(..) method MongoTemplate.
If this attribute is not provided the default value is org.bson.Document
Reference to an instance of
org.springframework.data.mongodb.core.CollectionCallback, preferable an
instance of
org.springframework.integration.mongodb.outbound.MessageCollectionCallback
with the request message context.
Common configuration for mongodb adapters.
Reference to an instance of
org.springframework.data.mongodb.MongoDbFactory
Reference to an instance of
org.springframework.data.mongodb.core.MongoTemplate
Identifies the name of the MongoDb collection to
use.
This attribute is mutually exclusive with
'collection-name-expression'
attribute.
SpEL expression which should resolve to a String
value identifying the
name of the MongoDb collection to use.
This
attribute is mutually exclusive with 'collection-name' attribute.
Reference to an instance of
org.springframework.data.mongodb.core.convert.MongoConverter