When we configure Spring-Data for mongo-db we have options for configure using Java based and XML based. In XML based configurations, we also customize mango options using <mongo:options connections-per-host="4" ... tag, But in java based configuration, how i set these options for Mongo Configuration?.
Add a comment
|