Claus Ibsen created CAMEL-5215: ---------------------------------- Summary: The file producer should use the charset encoding when writing the file if configured Key: CAMEL-5215 URL: https://issues.apache.org/jira/browse/CAMEL-5215 Project: Camel Issue Type: Bug Components: camel-core Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.9.3, 2.10.0
When writing to a file, we offer the charset option on the endpoint, as well the charset property set on the exchange. However in a route that is optimized as {code} from file to file {code} Then we optimize to do a file move operation instead. We should detect the charset configured and then we would need to stream and write using the configured charset. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira