[JAVA-84] More powerful connection string (like PHP driver has) Created: 29/Jan/10 Updated: 29/Oct/10 Resolved: 25/Oct/10 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 1.2 |
| Fix Version/s: | 2.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Niko Schmuck | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All |
||
| Description |
|
As a developer using spring bean configuration I would like to easily setup an configured com.mongodb.Mongo bean, no matter if I am using a simple test instance (1) or replica pairs (2) with the help of one, simple connection string. I think the PHP driver has already implemented this connection string parsing mechanism. (1) new Mongo("localhost:27017") |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 25/Oct/10 ] |
|
Should use public Mongo( MongoURI uri ); |
| Comment by Eliot Horowitz (Inactive) [ 05/Oct/10 ] |
|
This is mostly done but I'm not sure I love the syntax yet - so dont' to lock it down yet. |
| Comment by auto [ 22/Sep/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: working on MongoURI |