Platform Explorer / Nuxeo Platform LTS 2017 9.10

Extension point connection

Documentation

Extension point used to configure access to a MongoDB server or cluster. The service will return the 'default' access if the asked one hasn't been contributed.

This sets up a MongoClient; server is mandatory.

    <connection>
        <server>mongodb://bob:pass@localhost:27017,otherhost:27018/mydb?replicaSet=test;connectTimeoutMS=300000</server>
        <dbname>mydb</dbname>
    </connection>

See http://docs.mongodb.org/manual/reference/connection-string/ for the mongodb:// URI syntax.

Contribution Descriptors

Contributions

No known contributions.