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

Allow setting in addition to adding listeners via settings

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.5.0
    • Affects Version/s: None
    • Component/s: Configuration
    • None
    • Fully Compatible
    • Not Needed

      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.

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

              Created:
              Updated:
              Resolved: