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

Willem Jiang commented on CAMEL-7358:
-------------------------------------

It doesn't make sense to log all the content of a big file,  we can consider to 
set a default log size to avoid reading all the file content into memory.

> Tracer - Should have options to allow streams or files
> ------------------------------------------------------
>
>                 Key: CAMEL-7358
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7358
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.14.0
>
>
> So people can configure if the tracer should load the message body from 
> streams or files, or not.
> Currently it will load the content into memory as a String.
> But we need options to turn this off by default for file / streams. And then 
> people can turn these option on if they really want that
> See also
> http://camel.465427.n5.nabble.com/Java-heap-space-with-FILE-producer-and-larges-files-tp5749845.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to