[JAVA-784] Allow merge of options from URI and options from options class Created: 09/Mar/13 Updated: 09/Mar/13 Resolved: 09/Mar/13 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Connection Management |
| Affects Version/s: | 2.10.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benson Margulies | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
It would be helpful to tell a user to supply a URI to give coordinates, but still be able to specify some of the options that are the application's business in the code. Obviously, we can manipulate the URI, but it would be cleaner if we didn't have to. The autoconnectretry is the case in point. |
| Comments |
| Comment by Jeffrey Yemin [ 09/Mar/13 ] |
|
Resolving as a duplicate. |
| Comment by Benson Margulies [ 09/Mar/13 ] |
|
You could address this trivially by making MongoClientURI(String uri, MongoClientOptions.Builder builder) into a public constructor! |