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

acosentino pushed a commit to branch camel-master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


The following commit(s) were added to refs/heads/camel-master by this push:
     new cc49c17  [create-pull-request] automated change
cc49c17 is described below

commit cc49c17c021552e003aab3da2204a2ea12385912
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Mar 7 03:37:06 2021 +0000

    [create-pull-request] automated change
---
 .../src/generated/resources/connectors/camel-freemarker-sink.json  | 7 +++++++
 .../src/generated/resources/camel-freemarker-sink.json             | 7 +++++++
 .../src/main/docs/camel-freemarker-kafka-sink-connector.adoc       | 3 ++-
 .../freemarker/CamelFreemarkerSinkConnectorConfig.java             | 4 ++++
 .../pages/connectors/camel-freemarker-kafka-sink-connector.adoc    | 3 ++-
 5 files changed, 22 insertions(+), 2 deletions(-)

diff --git 
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-freemarker-sink.json
 
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-freemarker-sink.json
index 088ef5d..7f77c26 100644
--- 
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-freemarker-sink.json
+++ 
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-freemarker-sink.json
@@ -82,6 +82,13 @@
                        "priority": "MEDIUM",
                        "required": "false"
                },
+               "camel.component.freemarker.localizedLookup": {
+                       "name": "camel.component.freemarker.localizedLookup",
+                       "description": "Enables\/disables localized template 
lookup. Disabled by default.",
+                       "defaultValue": "false",
+                       "priority": "MEDIUM",
+                       "required": "false"
+               },
                "camel.component.freemarker.autowiredEnabled": {
                        "name": "camel.component.freemarker.autowiredEnabled",
                        "description": "Whether autowiring is enabled. This is 
used for automatic autowiring options (the option must be marked as autowired) 
by looking up in the registry to find if there is a single instance of matching 
type, which then gets configured on the component. This can be used for 
automatic configuring JDBC data sources, JMS connection factories, AWS Clients, 
etc.",
diff --git 
a/connectors/camel-freemarker-kafka-connector/src/generated/resources/camel-freemarker-sink.json
 
b/connectors/camel-freemarker-kafka-connector/src/generated/resources/camel-freemarker-sink.json
index 088ef5d..7f77c26 100644
--- 
a/connectors/camel-freemarker-kafka-connector/src/generated/resources/camel-freemarker-sink.json
+++ 
b/connectors/camel-freemarker-kafka-connector/src/generated/resources/camel-freemarker-sink.json
@@ -82,6 +82,13 @@
                        "priority": "MEDIUM",
                        "required": "false"
                },
+               "camel.component.freemarker.localizedLookup": {
+                       "name": "camel.component.freemarker.localizedLookup",
+                       "description": "Enables\/disables localized template 
lookup. Disabled by default.",
+                       "defaultValue": "false",
+                       "priority": "MEDIUM",
+                       "required": "false"
+               },
                "camel.component.freemarker.autowiredEnabled": {
                        "name": "camel.component.freemarker.autowiredEnabled",
                        "description": "Whether autowiring is enabled. This is 
used for automatic autowiring options (the option must be marked as autowired) 
by looking up in the registry to find if there is a single instance of matching 
type, which then gets configured on the component. This can be used for 
automatic configuring JDBC data sources, JMS connection factories, AWS Clients, 
etc.",
diff --git 
a/connectors/camel-freemarker-kafka-connector/src/main/docs/camel-freemarker-kafka-sink-connector.adoc
 
b/connectors/camel-freemarker-kafka-connector/src/main/docs/camel-freemarker-kafka-sink-connector.adoc
index f0767da..2c7f391 100644
--- 
a/connectors/camel-freemarker-kafka-connector/src/main/docs/camel-freemarker-kafka-sink-connector.adoc
+++ 
b/connectors/camel-freemarker-kafka-connector/src/main/docs/camel-freemarker-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ 
connector.class=org.apache.camel.kafkaconnector.freemarker.CamelFreemarkerSinkCo
 ----
 
 
-The camel-freemarker sink connector supports 13 options, which are listed 
below.
+The camel-freemarker sink connector supports 14 options, which are listed 
below.
 
 
 
@@ -42,6 +42,7 @@ The camel-freemarker sink connector supports 13 options, 
which are listed below.
 | *camel.component.freemarker.allowContextMapAll* | Sets whether the context 
map should allow access to all details. By default only the message body and 
headers can be accessed. This option can be enabled for full access to the 
current Exchange and CamelContext. Doing so impose a potential security risk as 
this opens access to the full power of CamelContext API. | false | false | 
MEDIUM
 | *camel.component.freemarker.allowTemplateFromHeader* | Whether to allow to 
use resource template from header or not (default false). Enabling this allows 
to specify dynamic templates via message header. However this can be seen as a 
potential security vulnerability if the header is coming from a malicious user, 
so use this with care. | false | false | MEDIUM
 | *camel.component.freemarker.lazyStartProducer* | Whether the producer should 
be started lazy (on the first message). By starting lazy you can use this to 
allow CamelContext and routes to startup in situations where a producer may 
otherwise fail during starting and cause the route to fail being started. By 
deferring this startup to be lazy then the startup failure can be handled 
during routing messages via Camel's routing error handlers. Beware that when 
the first message is processed t [...]
+| *camel.component.freemarker.localizedLookup* | Enables/disables localized 
template lookup. Disabled by default. | false | false | MEDIUM
 | *camel.component.freemarker.autowiredEnabled* | Whether autowiring is 
enabled. This is used for automatic autowiring options (the option must be 
marked as autowired) by looking up in the registry to find if there is a single 
instance of matching type, which then gets configured on the component. This 
can be used for automatic configuring JDBC data sources, JMS connection 
factories, AWS Clients, etc. | true | false | MEDIUM
 | *camel.component.freemarker.configuration* | To use an existing 
freemarker.template.Configuration instance as the configuration. | null | false 
| MEDIUM
 |===
diff --git 
a/connectors/camel-freemarker-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/freemarker/CamelFreemarkerSinkConnectorConfig.java
 
b/connectors/camel-freemarker-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/freemarker/CamelFreemarkerSinkConnectorConfig.java
index 5f37778..5f24156 100644
--- 
a/connectors/camel-freemarker-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/freemarker/CamelFreemarkerSinkConnectorConfig.java
+++ 
b/connectors/camel-freemarker-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/freemarker/CamelFreemarkerSinkConnectorConfig.java
@@ -59,6 +59,9 @@ public class CamelFreemarkerSinkConnectorConfig
     public static final String 
CAMEL_SINK_FREEMARKER_COMPONENT_LAZY_START_PRODUCER_CONF = 
"camel.component.freemarker.lazyStartProducer";
     public static final String 
CAMEL_SINK_FREEMARKER_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer 
should be started lazy (on the first message). By starting lazy you can use 
this to allow CamelContext and routes to startup in situations where a producer 
may otherwise fail during starting and cause the route to fail being started. 
By deferring this startup to be lazy then the startup failure can be handled 
during routing messages via Camel's routing error handlers. Beware tha [...]
     public static final Boolean 
CAMEL_SINK_FREEMARKER_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
+    public static final String 
CAMEL_SINK_FREEMARKER_COMPONENT_LOCALIZED_LOOKUP_CONF = 
"camel.component.freemarker.localizedLookup";
+    public static final String 
CAMEL_SINK_FREEMARKER_COMPONENT_LOCALIZED_LOOKUP_DOC = "Enables/disables 
localized template lookup. Disabled by default.";
+    public static final Boolean 
CAMEL_SINK_FREEMARKER_COMPONENT_LOCALIZED_LOOKUP_DEFAULT = false;
     public static final String 
CAMEL_SINK_FREEMARKER_COMPONENT_AUTOWIRED_ENABLED_CONF = 
"camel.component.freemarker.autowiredEnabled";
     public static final String 
CAMEL_SINK_FREEMARKER_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is 
enabled. This is used for automatic autowiring options (the option must be 
marked as autowired) by looking up in the registry to find if there is a single 
instance of matching type, which then gets configured on the component. This 
can be used for automatic configuring JDBC data sources, JMS connection 
factories, AWS Clients, etc.";
     public static final Boolean 
CAMEL_SINK_FREEMARKER_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
@@ -89,6 +92,7 @@ public class CamelFreemarkerSinkConnectorConfig
         
conf.define(CAMEL_SINK_FREEMARKER_COMPONENT_ALLOW_CONTEXT_MAP_ALL_CONF, 
ConfigDef.Type.BOOLEAN, 
CAMEL_SINK_FREEMARKER_COMPONENT_ALLOW_CONTEXT_MAP_ALL_DEFAULT, 
ConfigDef.Importance.MEDIUM, 
CAMEL_SINK_FREEMARKER_COMPONENT_ALLOW_CONTEXT_MAP_ALL_DOC);
         
conf.define(CAMEL_SINK_FREEMARKER_COMPONENT_ALLOW_TEMPLATE_FROM_HEADER_CONF, 
ConfigDef.Type.BOOLEAN, 
CAMEL_SINK_FREEMARKER_COMPONENT_ALLOW_TEMPLATE_FROM_HEADER_DEFAULT, 
ConfigDef.Importance.MEDIUM, 
CAMEL_SINK_FREEMARKER_COMPONENT_ALLOW_TEMPLATE_FROM_HEADER_DOC);
         conf.define(CAMEL_SINK_FREEMARKER_COMPONENT_LAZY_START_PRODUCER_CONF, 
ConfigDef.Type.BOOLEAN, 
CAMEL_SINK_FREEMARKER_COMPONENT_LAZY_START_PRODUCER_DEFAULT, 
ConfigDef.Importance.MEDIUM, 
CAMEL_SINK_FREEMARKER_COMPONENT_LAZY_START_PRODUCER_DOC);
+        conf.define(CAMEL_SINK_FREEMARKER_COMPONENT_LOCALIZED_LOOKUP_CONF, 
ConfigDef.Type.BOOLEAN, 
CAMEL_SINK_FREEMARKER_COMPONENT_LOCALIZED_LOOKUP_DEFAULT, 
ConfigDef.Importance.MEDIUM, 
CAMEL_SINK_FREEMARKER_COMPONENT_LOCALIZED_LOOKUP_DOC);
         conf.define(CAMEL_SINK_FREEMARKER_COMPONENT_AUTOWIRED_ENABLED_CONF, 
ConfigDef.Type.BOOLEAN, 
CAMEL_SINK_FREEMARKER_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, 
ConfigDef.Importance.MEDIUM, 
CAMEL_SINK_FREEMARKER_COMPONENT_AUTOWIRED_ENABLED_DOC);
         conf.define(CAMEL_SINK_FREEMARKER_COMPONENT_CONFIGURATION_CONF, 
ConfigDef.Type.STRING, CAMEL_SINK_FREEMARKER_COMPONENT_CONFIGURATION_DEFAULT, 
ConfigDef.Importance.MEDIUM, CAMEL_SINK_FREEMARKER_COMPONENT_CONFIGURATION_DOC);
         return conf;
diff --git 
a/docs/modules/ROOT/pages/connectors/camel-freemarker-kafka-sink-connector.adoc 
b/docs/modules/ROOT/pages/connectors/camel-freemarker-kafka-sink-connector.adoc
index f0767da..2c7f391 100644
--- 
a/docs/modules/ROOT/pages/connectors/camel-freemarker-kafka-sink-connector.adoc
+++ 
b/docs/modules/ROOT/pages/connectors/camel-freemarker-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ 
connector.class=org.apache.camel.kafkaconnector.freemarker.CamelFreemarkerSinkCo
 ----
 
 
-The camel-freemarker sink connector supports 13 options, which are listed 
below.
+The camel-freemarker sink connector supports 14 options, which are listed 
below.
 
 
 
@@ -42,6 +42,7 @@ The camel-freemarker sink connector supports 13 options, 
which are listed below.
 | *camel.component.freemarker.allowContextMapAll* | Sets whether the context 
map should allow access to all details. By default only the message body and 
headers can be accessed. This option can be enabled for full access to the 
current Exchange and CamelContext. Doing so impose a potential security risk as 
this opens access to the full power of CamelContext API. | false | false | 
MEDIUM
 | *camel.component.freemarker.allowTemplateFromHeader* | Whether to allow to 
use resource template from header or not (default false). Enabling this allows 
to specify dynamic templates via message header. However this can be seen as a 
potential security vulnerability if the header is coming from a malicious user, 
so use this with care. | false | false | MEDIUM
 | *camel.component.freemarker.lazyStartProducer* | Whether the producer should 
be started lazy (on the first message). By starting lazy you can use this to 
allow CamelContext and routes to startup in situations where a producer may 
otherwise fail during starting and cause the route to fail being started. By 
deferring this startup to be lazy then the startup failure can be handled 
during routing messages via Camel's routing error handlers. Beware that when 
the first message is processed t [...]
+| *camel.component.freemarker.localizedLookup* | Enables/disables localized 
template lookup. Disabled by default. | false | false | MEDIUM
 | *camel.component.freemarker.autowiredEnabled* | Whether autowiring is 
enabled. This is used for automatic autowiring options (the option must be 
marked as autowired) by looking up in the registry to find if there is a single 
instance of matching type, which then gets configured on the component. This 
can be used for automatic configuring JDBC data sources, JMS connection 
factories, AWS Clients, etc. | true | false | MEDIUM
 | *camel.component.freemarker.configuration* | To use an existing 
freemarker.template.Configuration instance as the configuration. | null | false 
| MEDIUM
 |===

Reply via email to