camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jeff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6147) improve the stream:file to be able to auto close when it detects the splitter is done
Date Mon, 18 Mar 2013 13:56:16 GMT

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

jeff commented on CAMEL-6147:
-----------------------------

good news, eager to use it !
                
>  improve the stream:file to be able to auto close when it detects the splitter is done
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6147
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6147
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-stream
>    Affects Versions: 2.10.4
>            Reporter: jeff
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>
> We should improve the stream:file to be able to auto close when it
> detects the splitter is done, as we have a completed property on the
> exchange to tell us.
> We can add an option on stream:file like  closeOnDone=true
> Like in this example : 
>        from("file://C:/Temp/camel/input_test/?noop=true")
>               .split()
>               .tokenize("\n")
>                      // Business lock with possible reject / enrich etc ...
>                      .streaming()
>                      .to("stream:file?fileName=C:/Temp/camel/output_test/out.csv&closeOnDone=true")
>                 .end()
>        .end();

--
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

Mime
View raw message