Spring Integration 5.0 Milestone 2 Available
On behalf of the Spring Integration team I’d like to announce the Second Milestone of Spring Integration 5.0, which is available in the Milestone Repository.
Some highlights of this release since the previous Milestone.
Of course, first of all, big thanks to you, the community, for your contributions!
MongoDb Improvements
-
MongoDbOutboundGateway
- for performing queries or any arbitrary operation on the collection -
An initial Java DSL support for MongoDB components
-
The MongoDb component now can use
org.springframework.data.mongodb.core.query.Query
API in their expressions@Bean public IntegrationFlow mongoDbGatewayFlow() { return f -> f .handle(MongoDb.outboundGateway(this.mongoTemplate) .collectionCallback(MongoCollection::count) .collectionNameFunction(m -> m.getHeaders().get("collection"))); }
…