camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snurmine <...@git.apache.org>
Subject [GitHub] camel pull request: CAMEL-9375: TarSplitter includes one extra emp...
Date Sat, 19 Dec 2015 12:03:56 GMT
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 <snurmine@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.
---

Mime
View raw message