camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8142) camel-sql: store query result in header instead of body
Date Wed, 10 Dec 2014 15:25:12 GMT

    [ 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 <daniel@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)

Mime
View raw message