You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/03/05 15:12:06 UTC

[camel] branch master updated: CAMEL-16285: Extensible ResourceHelper (adapt components)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 675d0af  CAMEL-16285: Extensible ResourceHelper (adapt components)
675d0af is described below

commit 675d0af4b72dfe3b5d545995ac1b6deb1b634a3b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Mar 5 16:11:30 2021 +0100

    CAMEL-16285: Extensible ResourceHelper (adapt components)
---
 .../java/org/apache/camel/component/freemarker/FreemarkerComponent.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/FreemarkerComponent.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/FreemarkerComponent.java
index e48427f..2f14bdf 100644
--- a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/FreemarkerComponent.java
+++ b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/FreemarkerComponent.java
@@ -86,6 +86,7 @@ public class FreemarkerComponent extends DefaultComponent {
     public synchronized Configuration getConfiguration() {
         if (configuration == null) {
             configuration = new Configuration(Configuration.DEFAULT_INCOMPATIBLE_IMPROVEMENTS);
+            configuration.setLocalizedLookup(false);
             configuration.setTemplateLoader(new URLTemplateLoader() {
                 @Override
                 protected URL getURL(String name) {