camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RubyTuesdayDONO <reubengarr...@gmail.com>
Subject Re: [DISCUSS] Camel and MongoDB
Date Fri, 23 Mar 2012 21:23:13 GMT
I'm really glad we now offer a mongoDB component.  It's even helped push me
out of the nest - I'm building trunk for the first time just so I can try it
out!  

What do you think about adding support for arbitrary DB commands?  It could
be a neat way to trigger a Map-Reduce, execute server-side javascript, or
even run administrative operations.  

I'm thinking this would be easy to implement since MongoDB accepts command
invocations encoded in a BSON document.  We'd only have to add an operation
like "dbCommand" to the endpoint, and send the command to it in the same way
that queries are sent for the findAll operation.  

http://www.mongodb.org/display/DOCS/Commands

~ Reuben 

--
View this message in context: http://camel.465427.n5.nabble.com/DISCUSS-Camel-and-MongoDB-tp5117168p5590738.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message