You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by snurmine <gi...@git.apache.org> on 2015/12/19 13:03:56 UTC

[GitHub] camel pull request: CAMEL-9375: TarSplitter includes one extra emp...

GitHub user snurmine opened a pull request:

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

    CAMEL-9375: TarSplitter includes one extra empty entry at the end.

    CAMEL-9375: TarSplitter includes one extra empty entry at the end.
    Modified iterator. It simply tries to generate next element and returns true if then there exists a next element.
    
    Message body is now StreamCached and size is bounded(StreamCaching is done from BoundedInputStream), because it seems that consuming tarInputStream in wrong order causes problems.
    Other solution would be use ByteArrayInputStream as body, but with large files that might cause OutOfMemory exception.

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

    $ git pull https://github.com/snurmine/camel CAMEL-9375

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

    https://github.com/apache/camel/pull/739.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 #739
    
----
commit cb5c211dc26c911c0e54c2893a9b1ecc7c595618
Author: Sami Nurminen <sn...@gmail.com>
Date:   2015-12-19T11:48:27Z

    CAMEL-9375: TarSplitter includes one extra empty entry at the end.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] camel pull request: CAMEL-9375: TarSplitter includes one extra emp...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---