You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Brad Harvey (Jira)" <ji...@apache.org> on 2019/09/09 00:55:00 UTC

[jira] [Commented] (CAMEL-13956) FileDataSet does not support a single file larger than 1024 bytes

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

Brad Harvey commented on CAMEL-13956:
-------------------------------------

I suspect the java.util.Scanner doesn't expand it's 1024 byte buffer with the regular expression that FileDataSet gives it ("\\z" - end of input).

 

> FileDataSet does not support a single file larger than 1024 bytes
> -----------------------------------------------------------------
>
>                 Key: CAMEL-13956
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13956
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.24.0
>            Reporter: Brad Harvey
>            Priority: Minor
>
> Using dataset with a FileDataSet configured with a single file - new FileDataSet(filename) - doesn't work as expected if the file is more than 1024 bytes.
> Expected result: The whole file is used as the dataset source.
> Actual result: The file gets split into multiple messages at 1024 byte boundaries.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)