Configure NettyStreamFactoryFactory by default if available

Closes gh-11526
Closes gh-10961
This commit is contained in:
Stephane Nicoll
2018-01-08 10:46:51 +01:00
parent 2b38ee9daf
commit b7f60c2ded
3 changed files with 57 additions and 13 deletions

View File

@@ -3660,7 +3660,9 @@ instead of using `MongoDbFactory`. If you want to take complete control of estab
the MongoDB connection, you can also declare your own `MongoDbFactory` or `MongoClient`
bean.
NOTE: If you are using the reactive driver, Netty is required for SSL. The
auto-configuration configures this factory automatically if Netty is available and the
factory to use hasn't been customized already.
[[boot-features-mongo-template]]
==== MongoTemplate