Skip to content

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

Closed
snurmine wants to merge 1 commit intoapache:masterfrom
snurmine:CAMEL-9375
Closed

CAMEL-9375: TarSplitter includes one extra empty entry at the end.#739
snurmine wants to merge 1 commit intoapache:masterfrom
snurmine:CAMEL-9375

Conversation

@snurmine
Copy link
Contributor

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 because tarInputStream.getNextTarEntry() advances stream beyond current entry. Other solution would be use ByteArrayInputStream as body, but with large files that might cause OutOfMemoryError.

@snurmine snurmine force-pushed the CAMEL-9375 branch 3 times, most recently from f27e518 to 75adad0 Compare December 19, 2015 14:03
@asfgit asfgit closed this in 962216f Dec 20, 2015
phantomjinx pushed a commit to phantomjinx/camel that referenced this pull request Apr 11, 2019
camel-box enhancements for Syndesis Box connector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant