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

Allow setting in addition to adding listeners via settings

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.5.0
    • None
    • Configuration
    • None
    • Fully Compatible
    • Not Needed

    Description

      There is the method MongoClientSettings.Builder.commandListenerList that allows overwriting listeners in a MongoClientSettings.Builder in situations when, for example, the builder was created from a different MongoClientSettings instance as a template. There is no similar method in

      Not only this is inconsistent, but also diminishes the usefulness of the MongoClientSettings.builder(MongoClientSettings) method.

      Attachments

        Activity

          People

            ramasai.tadepalli@mongodb.com Ramasai Tadepalli
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: