You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Pierre-Yves Nicolas (JIRA)" <ji...@apache.org> on 2013/01/25 15:55:12 UTC

[jira] [Commented] (CAMEL-6000) camel-mongodb - Dynamically add indexes to collections

    [ https://issues.apache.org/jira/browse/CAMEL-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562742#comment-13562742 ] 

Pierre-Yves Nicolas commented on CAMEL-6000:
--------------------------------------------

Hi Claus

I cleaned the patch and made ​​some changes:
- Added index via uri
- Added index via header when the option set true dynamicity
- Test class

With eclipse, I used the camel file format (CamelCodeFormatter.xml) but some formats have been modified.
                
> 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
>            Priority: Minor
>             Fix For: Future
>
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira