Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4BEC9C86 for ; Sat, 24 Mar 2012 13:01:19 +0000 (UTC) Received: (qmail 22526 invoked by uid 500); 24 Mar 2012 13:01:19 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 22447 invoked by uid 500); 24 Mar 2012 13:01:18 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 22434 invoked by uid 99); 24 Mar 2012 13:01:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 13:01:18 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of raul@fusesource.com designates 74.125.245.86 as permitted sender) Received: from [74.125.245.86] (HELO na3sys010aog109.obsmtp.com) (74.125.245.86) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 13:01:11 +0000 Received: from mail-qc0-f182.google.com ([209.85.216.182]) (using TLSv1) by na3sys010aob109.postini.com ([74.125.244.12]) with SMTP ID DSNKT23Fgf8iymcjP8MC7TwD8TC2m7NVUDR2@postini.com; Sat, 24 Mar 2012 06:00:50 PDT Received: by qcsg15 with SMTP id g15so3487965qcs.27 for ; Sat, 24 Mar 2012 06:00:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type:x-gm-message-state; bh=DForyGgj57OTmic9Cd1D/o1aSBXsztWTtDpW3ae5AaU=; b=HQ24EWx6rgDEBZbV0K6YRYBx4DQOsXWUN2H7laXXa+mAH6WbwsSlcvU9aqA0GwOZFc ueBEJoW6Z1uv6SGvAx2nhD+Xw9tWpVKPMnlz8JWIEQ9erSuvGRMDM/Rzs2OZ8KywkdIo x+VP1vBjIAlL9MwFHl7/nErot7fHblR4vAIrgx7Kf3O2dmh1gwXGToojWo0NyRVzFcrN f8PGBE+u35R9+2NTZ1A26V//ZYZzAa9iSyA5qqq5lT3FVdyY/hSn0hOHiMgP/3N0h3pa sbzCR6aG4TjM+2xEvVAVgO/H0iQVCt1vTzlvFtUZUGxJ6dewUGwUF9UORO+N7SVW3y4g X1hw== Received: by 10.224.204.8 with SMTP id fk8mr1503548qab.76.1332594049067; Sat, 24 Mar 2012 06:00:49 -0700 (PDT) References: <1332537793098-5590738.post@n5.nabble.com> From: Raul Kripalani In-Reply-To: <1332537793098-5590738.post@n5.nabble.com> Mime-Version: 1.0 (1.0) Date: Sat, 24 Mar 2012 13:00:47 +0000 Message-ID: <-3079624115789747546@unknownmsgid> Subject: Re: [DISCUSS] Camel and MongoDB To: "dev@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmv3E+i44O+BEid17+uj9iQ1ATcA+PdWCae/HBpacuoa39/IIVrE+iunL58RG9TsF1kxMqT X-Virus-Checked: Checked by ClamAV on apache.org Hi Reuben, I'm the person who submitted the component to the community. It's great news that you are already jumping ahead of time and using it! ;) Any feedback provided will have huge value at this point. If you happen to open JIRAs, please post them here too to aid tracking, or assign them to me. If you get the chance, review the docs as well, and do let me know if they are clear and detailed enough. I definitely thought about adding support for a generic DbCommand operation, but wanted to see first what the traction was. It should be pretty straightforward. Can you open a ticket? I'll work on it. Thanks a lot! P.S.: Soon I'll be releasing a camel-xmljson data format to convert from XML to JSON and back directly without JAXB or passing via interim Java objects. It's based on json-lib's highly-configurable XMLSerializer. Hopefully it should make life easier when working with XML and JSON. So keep tuned! Regards, Raul. On 23 Mar 2012, at 21:23, RubyTuesdayDONO wrote: > 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.