Created
December 4, 2016 19:17
-
-
Save xpadro/bb21042c45b1e8abbd09bd2b380ed929 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private MongoDbOutboundGatewaySpec outboundGateway(MongoDbFactory mongo) { | |
| return MongoDb.outboundGateway(mongo) | |
| .queryExpression("payload.data") | |
| .collectionNameExpression(new LiteralExpression("person")) | |
| .entityClass(Person.class) | |
| .maxResults(2); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment