You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2012/05/18 02:19:02 UTC

[jira] [Created] (CAMEL-5284) camel-stream should not close stream after each write

Hadrian Zbarcea created CAMEL-5284:
--------------------------------------

             Summary: camel-stream should not close stream after each write
                 Key: CAMEL-5284
                 URL: https://issues.apache.org/jira/browse/CAMEL-5284
             Project: Camel
          Issue Type: Bug
          Components: camel-stream
    Affects Versions: 2.8.4
            Reporter: Hadrian Zbarcea
             Fix For: 2.8.6, 2.9.3, 2.10.0


The StreamProducer in camel-stream closes the stream after every write, which significantly affects performance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Work started] (CAMEL-5284) camel-stream should not close stream after each write

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-5284 started by Hadrian Zbarcea.

> camel-stream should not close stream after each write
> -----------------------------------------------------
>
>                 Key: CAMEL-5284
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5284
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-stream
>    Affects Versions: 2.8.4
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.6, 2.9.3, 2.10.0
>
>
> The StreamProducer in camel-stream closes the stream after every write, which significantly affects performance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CAMEL-5284) camel-stream should not close stream after each write

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea reassigned CAMEL-5284:
--------------------------------------

    Assignee: Hadrian Zbarcea
    
> camel-stream should not close stream after each write
> -----------------------------------------------------
>
>                 Key: CAMEL-5284
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5284
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-stream
>    Affects Versions: 2.8.4
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.6, 2.9.3, 2.10.0
>
>
> The StreamProducer in camel-stream closes the stream after every write, which significantly affects performance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5284) camel-stream should not close stream after each write

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278446#comment-13278446 ] 

Hadrian Zbarcea commented on CAMEL-5284:
----------------------------------------

We need to give users some control over when the stream would be closed. I will introduce a new option 'autoCloseCount' to specify the number of messages to process before closing the stream.

A value of 'autoCloseCount=0' means that the stream is never closed (well, it will be when the StreamProducer is stopped). A value of 'autoCloseCount=1' means close after every message, which is the current behavior. I am tempted to use '0' as the default value. A value of '1', although consistent with the current behavior is not what a user would expect. Another higher value just seems kinda random.
                
> camel-stream should not close stream after each write
> -----------------------------------------------------
>
>                 Key: CAMEL-5284
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5284
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-stream
>    Affects Versions: 2.8.4
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.6, 2.9.3, 2.10.0
>
>
> The StreamProducer in camel-stream closes the stream after every write, which significantly affects performance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5284) camel-stream should not close stream after each write

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5284.
--------------------------------

    Resolution: Fixed
    
> camel-stream should not close stream after each write
> -----------------------------------------------------
>
>                 Key: CAMEL-5284
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5284
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-stream
>    Affects Versions: 2.8.4
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.6, 2.9.3, 2.10.0
>
>
> The StreamProducer in camel-stream closes the stream after every write, which significantly affects performance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira