You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/02/05 05:59:00 UTC

[jira] [Resolved] (CAMEL-21711) camel-core - IOConverter file/path to string should handle binary files

     [ https://issues.apache.org/jira/browse/CAMEL-21711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-21711.
---------------------------------
    Resolution: Fixed

> camel-core - IOConverter file/path to string should handle binary files
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-21711
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21711
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.10.0
>
>
> If you do a log with ${body} and have a file attachment that is binary data such as a png then its better to load the byte array and store as string, instead of having a JDK read error due to attempt to convert to UTF-8 and have some MalformedIOException



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