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

MongURI should allow configuring of the socketKeepAlive setting in the driver

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.3
    • None
    • java driver
    • Fully Compatible

    Description

      MongoOptions.java supports the enabling of socket keep alive, yet the option is not accessible through MongoURI.java. Is there a specific reason for this? or can the option be enabled by adding the following code to MongoURI.java in the parseOptions method?

      (after line 171 in v2.6.3 of MongoURI.java)
      else if ( key.equals( "socketKeepAlive" ) ) _options.autoConnectRetry = _parseBoolean( value );

      Attachments

        Activity

          People

            Unassigned Unassigned
            pdwalker Paul D. Walker
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: