[
https://issues.apache.org/jira/browse/CAMEL-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783297#comment-13783297
]
Babak Vahdat commented on CAMEL-6000:
-------------------------------------
Part of the provided patch by this ticket has *NOT* been applied into the code
base (the part related to the {{MongoDbProducer#calculateCollection}} method)
so why MongoDbIndexTest used to fail, see CAMEL-6805. Indeed all the 4 tests
there are now passing but I had to change the test logic for them to pass
(which is actually not "worked as designed"!). I'm gonne apply the missing part
of this provided patch by tomorrow (both master & 2.12.x branches).
And frankly looking at the applied patch there are *A LOT* of
comment-refomattings being applied as well. This makes understanding the
applied patch really difficult and also the comment's formattings now do not
look good at all, e.g. see all those Javadoc formatting changes:
http://git-wip-us.apache.org/repos/asf/camel/diff/d5f42992
> camel-mongodb - Dynamically add indexes to collections
> ------------------------------------------------------
>
> Key: CAMEL-6000
> URL: https://issues.apache.org/jira/browse/CAMEL-6000
> Project: Camel
> Issue Type: New Feature
> Components: camel-mongodb
> Affects Versions: 2.10.3
> Reporter: Pierre-Yves Nicolas
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.12.0
>
> Attachments: camel_mongodb_index_patch.txt
>
>
> You can create collection dynamically but the inability to specify the index
> can be an obstacle to the proper functioning of mongo.
> Adding a header key "CamelMongoDbCollectionIndex" to specify the columns to
> index. (add test method)
--
This message was sent by Atlassian JIRA
(v6.1#6144)