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

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

GitHub user adessaigne opened a pull request:

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

    CAMEL-7447 Allow to stream the result of a database query

    It's only possible in the jdbc-component because it controls when the 
`close()` operations are performed.
    It's not possible in the sql-component because it delegates the `close()` 
calls to Spring's {{JdbcTemplate}}

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

    $ git pull https://github.com/adessaigne/camel CAMEL-7447

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

    https://github.com/apache/camel/pull/159.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 #159
    
----
commit 16c1d36d848c3ae02507babf8aae7a8dac9ebd83
Author: Antoine DESSAIGNE <[email protected]>
Date:   2014-05-22T09:53:54Z

    CAMEL-7447 Allow to stream the result of a database query

----


> Allow to stream the result of a database query
> ----------------------------------------------
>
>                 Key: CAMEL-7447
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7447
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jdbc
>            Reporter: Antoine DESSAIGNE
>             Fix For: 2.14.0
>
>
> Allow to stream the result of a database query
> Example:
> {code}
> from("direct:streamDB")
>     .setBody(constant("select * from customer"))
>     .to("jdbc:db?outputType=StreamList")
>     .split(body())
>         .to("direct:processSingleActor")
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to