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

MongoDB Endpoints: Allow ReadPreference to be set on consumers

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.15.0
    • Fix Version/s: 2.14.3, 2.15.1, 2.16.0
    • Component/s: camel-mongodb
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: