Hi, If you don’t know the collection, can you just skip the setting of collection?
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On January 29, 2014 at 5:36:20 PM, mads64738 (ma...@yakatak.com) wrote: > > Willem.Jiang wrote > > Hi, > > > > You can find more information about the change in this JIRA[1] > > [1]https://issues.apache.org/jira/browse/CAMEL-6000 > > Hi Willem, > > Many thanks for your reply. I've reviewed the ticket and sort-of > understand > the intent of the change. > > However, it doesn't make sense to me that, when I apply the > 'dynamicity=true' parameter on a pre-existing collection > with pre-existing > indexes, that for a 'findall', the first thing I see on the database > is a > call to drop the indexes. > > I am using the 'dynamicity=true' to be able to programmatically > switch > between my Mongo collections by setting the collections header. > If this is > not the intent of this flag, your thoughts would be appreciated. > > Best regards, Madhu. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-2-12-MongoDB-pre-existing-indexes-being-dropped-when-using-dynamicity-tp5746575p5746592.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >