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 2012/04/25 11:50:02 UTC
[jira] [Created] (CAMEL-5215) The file producer should use the
charset encoding when writing the file if configured
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
[jira] [Resolved] (CAMEL-5215) The file producer should use the
charset encoding when writing the file if configured
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5215.
--------------------------------
Resolution: Fixed
> 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