Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62FD71096A for ; Mon, 26 Aug 2013 23:10:52 +0000 (UTC) Received: (qmail 53391 invoked by uid 500); 26 Aug 2013 23:10:52 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 53367 invoked by uid 500); 26 Aug 2013 23:10:52 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 53359 invoked by uid 99); 26 Aug 2013 23:10:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 23:10:52 +0000 Date: Mon, 26 Aug 2013 23:10:52 +0000 (UTC) From: "Zemian Deng (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-3907) Component camel-sql needs the abiliity to process sql from the body of the exchange MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750706#comment-13750706 ] Zemian Deng commented on CAMEL-3907: ------------------------------------ Hi there, It looks like last comment is entered a long time ago. I can try to provide a patch for this if you guys like. I am thinking to add {{useMessageBodyForSql=true|false}} to flip the current camel-sql behavior. If it's true, then we can read parameters from header {{CamelJdbcParameters}} that is a {{Map}} instance as default (similar to camel-jdbc). > Component camel-sql needs the abiliity to process sql from the body of the exchange > ----------------------------------------------------------------------------------- > > Key: CAMEL-3907 > URL: https://issues.apache.org/jira/browse/CAMEL-3907 > Project: Camel > Issue Type: Improvement > Components: camel-sql > Reporter: Heath Kesler > Fix For: Future > > > camel sql should also support the ability to add the sql statements in the exchange body for processing. This is linked via 3803. -- 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