Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8483

MongoDB Endpoints: Allow ReadPreference to be set on consumers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.15.0
    • 2.14.3, 2.15.1, 2.16.0
    • camel-mongodb
    • None
    • Unknown

    Description

      When creating a MongoDB Consumer endpoint with the "readPreference" option specified, an exception will be thrown (operation, writeConcern, writeConcernRef, readPreference, dynamicity, invokeGetLastError options cannot appear on a consumer endpoint).

      This should be changed so it is possible to define a readPreference for MongoDB consumers.

      See also: http://camel.465427.n5.nabble.com/MongoDB-Consumer-Endpoint-ReadPreference-cannot-be-set-tc5764015.html

      Attachments

        Activity

          People

            raulvk Raúl Kripalani
            jpeschke Jörg Peschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: