• Andy Wilkinson's avatar
    Auto-configure Data Mongo if user provides MongoDbFactory but no client · 7f85aba5
    Andy Wilkinson authored
    Previously, if a user defined a MongoDbFactory bean but did not define
    a client bean, MongoDataAutoConfiguration would back off leaving the
    context without a MongoTemplate, etc.
    
    This commit reworks the auto-configuration so that only the
    auto-configuration of a MongoDbFactory is dependent on the existence
    of a Mongo client bean. Auto-configuration of the other components
    that depend on a MongoDbFactory will now continue in the absence of a
    Mongo client bean.
    
    Closes gh-17416
    7f85aba5
Name
Last commit
Last update
..
src Loading commit data...
pom.xml Loading commit data...