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

More powerful connection string (like PHP driver has)

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.3
    • 1.2
    • None
    • None
    • 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")
      (2) new Mongo("left.example.org:27017,right.example.org:27017")

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: