Re: Mongo Java driver 3 and mongodb component

2016-12-05 Thread Jean-Baptiste Onofré
+1 New component makes sense. Regards JB On 12/06/2016 07:53 AM, Andrea Cosentino wrote: Probably creating a new component is the best solution -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@

Re: Mongo Java driver 3 and mongodb component

2016-12-05 Thread Andrea Cosentino
Probably creating a new component is the best solution -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Monday, December 5, 2016 6:08 AM, Pontus Ull

Re: Mongo Java driver 3 and mongodb component

2016-12-04 Thread Pontus Ullgren
Hello, Thanks for doing this work. One possibility would be to do both. That is introduce new MongoDbOutputType enumeration values such as "List", "Document" and "Iterator" and keep the old possible values (marked as deprecated) as aliases for these new once to preserve backwards compatibility. B