You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/12/10 16:25:12 UTC

[jira] [Commented] (CAMEL-8142) camel-sql: store query result in header instead of body

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

ASF GitHub Bot commented on CAMEL-8142:
---------------------------------------

GitHub user dpocock opened a pull request:

    https://github.com/apache/camel/pull/355

    camel-sql: add outputHeader parameter (CAMEL-8142)

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dpocock/camel dpocock-sql-outputheader

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/355.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #355
    
----
commit 68b31e2116f27a40c7e96b4e11164a79ba9055df
Author: Daniel Pocock <da...@pocock.pro>
Date:   2014-12-10T15:24:15Z

    camel-sql: add outputHeader parameter (CAMEL-8142)

----


> camel-sql: store query result in header instead of body
> -------------------------------------------------------
>
>                 Key: CAMEL-8142
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8142
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-sql
>            Reporter: Daniel Pocock
>
> The SQL component stores query results in the message body, clobbering the existing body.  It would be nice to store the results of some queries in a header.
> This would be particularly useful when combined with outputType=SelectOne to store a value such as a primary key / object ID into a header.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)