Camel
  1. Camel
  2. CAMEL-5215

The file producer should use the charset encoding when writing the file if configured

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.3, 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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

      from file
       to file
      

      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.

        Activity

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development