Re: About a bug of the camel-mongodb component...

2014-04-16 Thread Babak Vahdat
>> >>> >> In the meanwhile I've noticed that this option doesn't work *at all* >>> >> anyway >>> >> because: >>> >> >>> >> - For example if you try to use >>> >> "readPreference=com.mongodb.ReadPreference$PrimaryReadPreference” t

Re: About a bug of the camel-mongodb component...

2014-04-15 Thread Babak Vahdat
h the current logic) as the static >> >> member >> >> class PrimaryReadPreference is private anyway (one would end up with >> >> IllegalAccessException etc.) >> >> - One can't for example make use of the value >> >> "com.mongodb.ReadPr

Re: About a bug of the camel-mongodb component...

2014-04-15 Thread Raul Kripalani
gt; As this option doesn't work anyway, my suggestion is to change the > >> possible > >> values for this option to the ones com.mongodb.ReadPreference#valueOf() > >> allows. I've raised a JIRA including a proposed fix for this: > >> &g

Re: About a bug of the camel-mongodb component...

2014-04-15 Thread Babak Vahdat
for this: >> >> https://issues.apache.org/jira/browse/CAMEL-7369 >> >> I also think an option value like "readPreference=primaryPreferred" would >> read much easier than >> >> "readPreference=com.mongodb.TaggableReadPreference$PrimaryPreferre

Re: About a bug of the camel-mongodb component...

2014-04-15 Thread Raul Kripalani
the current implementation doesn't work anyway, I > guess this's not an issue at all. > > Thoughts? > > Babak > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/About-a-bug-of-the-camel-mongodb-component-tp5750234.html > Sent from the Camel Development mailing list archive at Nabble.com. >

About a bug of the camel-mongodb component...

2014-04-15 Thread Babak Vahdat
at all. Thoughts? Babak -- View this message in context: http://camel.465427.n5.nabble.com/About-a-bug-of-the-camel-mongodb-component-tp5750234.html Sent from the Camel Development mailing list archive at Nabble.com.