[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:
Duplicate
duplicates JAVA-780 Expose MongoClientURI constructor for... Closed

 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!

Generated at Thu Feb 08 08:53:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.