This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch exchangeProperties in repository https://gitbox.apache.org/repos/asf/camel.git
commit 80045d6d686f59de480b1674739f0d79b1415a74 Author: Claus Ibsen <[email protected]> AuthorDate: Wed Jan 24 19:30:52 2024 +0100 Regen --- .../component/freemarker/FreemarkerEndpoint.java | 3 ++- .../apache/camel/component/freemarker/example.ftl | 1 - .../stringtemplate/StringTemplateEndpoint.java | 3 ++- .../component/thymeleaf/ThymeleafEndpoint.java | 22 ++++++++++++++-------- .../camel/component/velocity/VelocityEndpoint.java | 3 ++- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/FreemarkerEndpoint.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/FreemarkerEndpoint.java index 0860231d200..12c30df4491 100644 --- a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/FreemarkerEndpoint.java +++ b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/FreemarkerEndpoint.java @@ -36,7 +36,8 @@ import org.apache.camel.util.ObjectHelper; * Transform messages using FreeMarker templates. */ @UriEndpoint(firstVersion = "2.10.0", scheme = "freemarker", title = "Freemarker", syntax = "freemarker:resourceUri", - remote = false, producerOnly = true, category = { Category.TRANSFORMATION }, headersClass = FreemarkerConstants.class) + remote = false, producerOnly = true, category = { Category.TRANSFORMATION }, + headersClass = FreemarkerConstants.class) public class FreemarkerEndpoint extends ResourceEndpoint { @UriParam(defaultValue = "false") diff --git a/components/camel-freemarker/src/test/resources/org/apache/camel/component/freemarker/example.ftl b/components/camel-freemarker/src/test/resources/org/apache/camel/component/freemarker/example.ftl index 4a575467956..b7e6e721a68 100644 --- a/components/camel-freemarker/src/test/resources/org/apache/camel/component/freemarker/example.ftl +++ b/components/camel-freemarker/src/test/resources/org/apache/camel/component/freemarker/example.ftl @@ -12,7 +12,6 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and limitations under the License. diff --git a/components/camel-stringtemplate/src/main/java/org/apache/camel/component/stringtemplate/StringTemplateEndpoint.java b/components/camel-stringtemplate/src/main/java/org/apache/camel/component/stringtemplate/StringTemplateEndpoint.java index 58a1e7a1d13..112228358c5 100644 --- a/components/camel-stringtemplate/src/main/java/org/apache/camel/component/stringtemplate/StringTemplateEndpoint.java +++ b/components/camel-stringtemplate/src/main/java/org/apache/camel/component/stringtemplate/StringTemplateEndpoint.java @@ -37,7 +37,8 @@ import org.stringtemplate.v4.STGroup; */ @UriEndpoint(firstVersion = "1.2.0", scheme = "string-template", title = "String Template", syntax = "string-template:resourceUri", producerOnly = true, - remote = false, category = { Category.TRANSFORMATION, Category.SCRIPT }, headersClass = StringTemplateConstants.class) + remote = false, category = { Category.TRANSFORMATION, Category.SCRIPT }, + headersClass = StringTemplateConstants.class) public class StringTemplateEndpoint extends ResourceEndpoint { @UriParam(defaultValue = "false") diff --git a/components/camel-thymeleaf/src/main/java/org/apache/camel/component/thymeleaf/ThymeleafEndpoint.java b/components/camel-thymeleaf/src/main/java/org/apache/camel/component/thymeleaf/ThymeleafEndpoint.java index 4dd4d1dae8f..8a5e5e3e7ce 100644 --- a/components/camel-thymeleaf/src/main/java/org/apache/camel/component/thymeleaf/ThymeleafEndpoint.java +++ b/components/camel-thymeleaf/src/main/java/org/apache/camel/component/thymeleaf/ThymeleafEndpoint.java @@ -43,25 +43,31 @@ import org.thymeleaf.web.servlet.JakartaServletWebApplication; * Transform messages using a Thymeleaf template. */ @UriEndpoint(firstVersion = "4.1.0", scheme = "thymeleaf", title = "Thymeleaf", syntax = "thymeleaf:resourceUri", - remote = false, producerOnly = true, category = { Category.TRANSFORMATION }, headersClass = ThymeleafConstants.class) + remote = false, producerOnly = true, category = { Category.TRANSFORMATION }, + headersClass = ThymeleafConstants.class) public class ThymeleafEndpoint extends ResourceEndpoint { private TemplateEngine templateEngine; private String template; private JakartaServletWebApplication jakartaServletWebApplication; - @UriParam(label = "advanced", defaultValue = "CLASS_LOADER", description = "The type of resolver to be used by the template engine.", + @UriParam(label = "advanced", defaultValue = "CLASS_LOADER", + description = "The type of resolver to be used by the template engine.", javaType = "org.apache.camel.component.thymeleaf.ThymeleafResolverType") private ThymeleafResolverType resolver = ThymeleafResolverType.CLASS_LOADER; - @UriParam(description = "The template mode to be applied to templates.", defaultValue = "HTML", enums = "HTML,XML,TEXT,JAVASCRIPT,CSS,RAW") + @UriParam(description = "The template mode to be applied to templates.", defaultValue = "HTML", + enums = "HTML,XML,TEXT,JAVASCRIPT,CSS,RAW") private String templateMode; - @UriParam(label = "advanced", description = "An optional prefix added to template names to convert them into resource names.") + @UriParam(label = "advanced", + description = "An optional prefix added to template names to convert them into resource names.") private String prefix; - @UriParam(label = "advanced", description = "An optional suffix added to template names to convert them into resource names.") + @UriParam(label = "advanced", + description = "An optional suffix added to template names to convert them into resource names.") private String suffix; @UriParam(label = "advanced", description = "The character encoding to be used for reading template resources.") private String encoding; - @UriParam(label = "advanced", description = "The order in which this template will be resolved as part of the resolver chain.") + @UriParam(label = "advanced", + description = "The order in which this template will be resolved as part of the resolver chain.") private Integer order; @UriParam(description = "Whether a template resources will be checked for existence before being returned.") private Boolean checkExistence; @@ -192,8 +198,8 @@ public class ThymeleafEndpoint extends ResourceEndpoint { } /** - * Sets whether template resources will be checked for existence before being returned or not. - * Default value is {@code FALSE}. + * Sets whether template resources will be checked for existence before being returned or not. Default value is + * {@code FALSE}. * * @param checkExistence {@code true} if resource existence should be checked, {@code false} if not */ diff --git a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/VelocityEndpoint.java b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/VelocityEndpoint.java index 600e21548f7..ad429b18c04 100644 --- a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/VelocityEndpoint.java +++ b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/VelocityEndpoint.java @@ -45,7 +45,8 @@ import org.slf4j.LoggerFactory; * Transform messages using a Velocity template. */ @UriEndpoint(firstVersion = "1.2.0", scheme = "velocity", title = "Velocity", syntax = "velocity:resourceUri", - remote = false, producerOnly = true, category = { Category.TRANSFORMATION }, headersClass = VelocityConstants.class) + remote = false, producerOnly = true, category = { Category.TRANSFORMATION }, + headersClass = VelocityConstants.class) public class VelocityEndpoint extends ResourceEndpoint { private VelocityEngine velocityEngine;
