Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-84

More powerful connection string (like PHP driver has)

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3
    • Affects Version/s: 1.2
    • Component/s: None
    • None
    • Environment:
      All

      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")
      (2) new Mongo("left.example.org:27017,right.example.org:27017")

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            nschmuck Niko Schmuck
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: