GitHub user jpeschke2608 opened a pull request:

    https://github.com/apache/camel/pull/434

    CAMEL-8483: Removed readPreference from the list of invalid options for 
camel consumer endpoints

    Hi,
    This one is about the issue 
https://issues.apache.org/jira/browse/CAMEL-8483, also discussed here:
    
http://camel.465427.n5.nabble.com/MongoDB-Consumer-Endpoint-ReadPreference-cannot-be-set-tc5764015.html
    
    I simply removed the "readPreference" option from the list of invalid 
options, which should allow you to define MongoDB consumer endpoints with a 
non-default readPreference (for example to consume data from a tailable 
consumer by reading from the secondary hosts in a MongoDB replica set).
    
    This is my first GitHub commit/Pull request, so I hope I didn't break 
anything :).
    
    Best regards,
    Joerg

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeschke2608/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/434.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #434
    
----
commit c0ce4eba934a5ec762c9b76470afe2a95f6b80b7
Author: jpeschke2608 <pesc...@etone.de>
Date:   2015-03-13T14:55:58Z

    CAMEL-8483: Removed readPreference from the list of invalid options for
    camel consumer endpoints

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to