Camel
  1. Camel
  2. CAMEL-1278

VelocityEndpoint reads velocity templates using default encoding - add parameter to set encoding

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0, 2.0-M1
    • Component/s: camel-velocity
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      VelocityEndpoints reads templates using default encoding, so I cannot get correct content while running on Windows and Linux.

      The reason is that there is used InputStreamReader constructor without encoding parameter.

      I've added simple support for setting encoding - see attached patch

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jonathan Anstey
            Reporter:
            Damian Golda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development