[
https://issues.apache.org/jira/browse/CAMEL-13956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16925277#comment-16925277
]
Brad Harvey edited comment on CAMEL-13956 at 9/9/19 12:54 AM:
--------------------------------------------------------------
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).
was (Author: bradhgbst):
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)