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

Christian Becker commented on CAMEL-18387:
------------------------------------------

PS: The behavior with only one empty message is also strange: In my test the 
aggregate will be an empty String object instead of an empty File.

 

> camel-tarfile: TarAggregationStrategy throws error when first message is empty
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-18387
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18387
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-tarfile
>    Affects Versions: 3.18.1
>            Reporter: Christian Becker
>            Priority: Major
>         Attachments: TarAggregationStrategyEmptyFirstFileTest.java
>
>
> TarAggregationStrategy will skip empty messages, but if the _first_ message 
> is empty it will throw an error "java.io.IOException: Cannot create temp 
> file: " on the next non-empty message.
> I added a test case to reproduce this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to