You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Raul Kripalani (Created) (JIRA)" <ji...@apache.org> on 2012/01/10 03:47:39 UTC

[jira] [Created] (CAMEL-4878) Create a Camel component for MongoDB

Create a Camel component for MongoDB
------------------------------------

                 Key: CAMEL-4878
                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
             Project: Camel
          Issue Type: New Feature
            Reporter: Raul Kripalani
            Assignee: Raul Kripalani


As you know, NoSQL technology is evolving at an impressive rate and the 
adopting is increasing tremendously. 

One of the most popular databases in this area is definitely MongoDB, a 
highly-performant, scalable, schema-less database which stores information 
as flexible documents (meaning JSON payloads, not Office, PDF, etc. or 
binary formats). 

Unfortunately, the only support I have found for MongoDB is an Idempotent 
Repository implementation backed up by Mongo ( 
https://github.com/catify/camel-mongodb). 

My proposal is to create a Camel component to support CRUD operations on 
MongoDB databases. In most cases it will be a producer (create, read, 
update, delete), but it could also act like a consumer performing scheduled 
polls (read-only) to fetch information from a collection. MapReduce support 
can also be provided for complex queries. 

When it comes to licensing there should be no restriction since the Java 
driver is licensed under the Apache license ( 
http://www.mongodb.org/display/DOCS/Licensing). 

For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4878.
--------------------------------

    Resolution: Fixed

Thanks for the adjustment patch.
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip, mongodb_adjustments.patch
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209459#comment-13209459 ] 

Claus Ibsen commented on CAMEL-4878:
------------------------------------

Yeah if you do compensation logic in the component, then you need to handle that yourself. If for example mongodb has some natural support for compensation or retry etc.

Normally for the producer you would just throw the exception, and then the routing engine will take care of it.

And for the consumer, you would normally have to do a try .. catch where you process the created exchange. And in case of an exception, then that is consumer specific. There is a default exception handler that just logs the exception at WARN level.
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209374#comment-13209374 ] 

Claus Ibsen commented on CAMEL-4878:
------------------------------------

Thanks for the patch. 

I polished it just a little. There is a mongodb java driver in central repo. So I switched to use that release.
Also when you do start/stop, then you should override doStart and doStop (and not start/stop).

There is a few places where you log and rethrow. You should generally not do that. Exceptions thrown will be caught be Camel routing engine and dealt with accordingly. To log it ,, redeliver etc. The end user can also customize the logging level / verbosity. So please remove the LOG.error + rethrown you do.

                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209437#comment-13209437 ] 

Raul Kripalani commented on CAMEL-4878:
---------------------------------------

Thanks for the review, Claus. Now that the code is on the trunk, I will submit a patch to override doStart/doStop instead and simply let exceptions to be thrown naturally out of the originating method instead of dealing with them. 

Just to ensure we're on the same page, in those places where compensation actions are taken but the exception should still make it to the routing engine, I will need to catch, compensate and rethrow, right?
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209642#comment-13209642 ] 

Raul Kripalani commented on CAMEL-4878:
---------------------------------------

Done (both comments). Attached the patch.

Tomorrow I will submit another patch to create a camel-mongodb feature. The feature will also requires camel-jackson, so they are all installed in one go.
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip, mongodb_adjustments.patch
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raul Kripalani updated CAMEL-4878:
----------------------------------

    Attachment: camel-mongodb.zip

Re-attached patch with Checkstyle issues fixed.
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208646#comment-13208646 ] 

Raul Kripalani commented on CAMEL-4878:
---------------------------------------

I will start creating the component's page on the Wiki.
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209460#comment-13209460 ] 

Claus Ibsen commented on CAMEL-4878:
------------------------------------

I wonder if JSON is such a natural part of mongodb, should we not just have the jackson JAR as mandatory. I do not like the optional part and the "hacks" you got in the type converter, where you do a static load of the class. And if there is an exception you log and return null.

Its IMHO better to require jackson. And if there is an error converting, then throw that exception.
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raul Kripalani updated CAMEL-4878:
----------------------------------

    Description: 
As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 

One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 

Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 

My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 

When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 

For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

  was:
As you know, NoSQL technology is evolving at an impressive rate and the 
adopting is increasing tremendously. 

One of the most popular databases in this area is definitely MongoDB, a 
highly-performant, scalable, schema-less database which stores information 
as flexible documents (meaning JSON payloads, not Office, PDF, etc. or 
binary formats). 

Unfortunately, the only support I have found for MongoDB is an Idempotent 
Repository implementation backed up by Mongo ( 
https://github.com/catify/camel-mongodb). 

My proposal is to create a Camel component to support CRUD operations on 
MongoDB databases. In most cases it will be a producer (create, read, 
update, delete), but it could also act like a consumer performing scheduled 
polls (read-only) to fetch information from a collection. MapReduce support 
can also be provided for complex queries. 

When it comes to licensing there should be no restriction since the Java 
driver is licensed under the Apache license ( 
http://www.mongodb.org/display/DOCS/Licensing). 

For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

    
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raul Kripalani updated CAMEL-4878:
----------------------------------

    Attachment:     (was: camel-mongodb.zip)
    
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raul Kripalani updated CAMEL-4878:
----------------------------------

    Attachment: camel-mongodb.zip

Attached the source code for someone to commit on trunk
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raul Kripalani updated CAMEL-4878:
----------------------------------

              Patch Info: Patch Available
       Affects Version/s: 2.9.0
           Fix Version/s: 2.10.0
    Estimated Complexity: Advanced  (was: Unknown)
    
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209122#comment-13209122 ] 

Claus Ibsen commented on CAMEL-4878:
------------------------------------

Raul did you remove the patch?
                
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4878) Create a Camel component for MongoDB

Posted by "Raul Kripalani (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raul Kripalani updated CAMEL-4878:
----------------------------------

    Attachment: mongodb_adjustments.patch
    
> Create a Camel component for MongoDB
> ------------------------------------
>
>                 Key: CAMEL-4878
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4878
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.9.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>             Fix For: 2.10.0
>
>         Attachments: camel-mongodb.zip, mongodb_adjustments.patch
>
>
> As you know, NoSQL technology is evolving at an impressive rate and the adoption is increasing tremendously. 
> One of the most popular databases in this area is definitely MongoDB, a highly-performant, scalable, schema-less database which stores information as flexible documents (meaning JSON payloads, not Office, PDF, etc. or binary formats). 
> Unfortunately, the only support I have found for MongoDB is an Idempotent Repository implementation backed up by Mongo (https://github.com/catify/camel-mongodb). 
> My proposal is to create a Camel component to support CRUD operations on MongoDB databases. In most cases it will be a producer (create, read, update, delete), but it could also act like a consumer performing scheduled polls (read-only) to fetch information from a collection. MapReduce support can also be provided for complex queries. 
> When it comes to licensing there should be no restriction since the Java driver is licensed under the Apache license (http://www.mongodb.org/display/DOCS/Licensing). 
> For more info see http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-td5117168.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira