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

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

commit 9b546cfc88225f57aeb63796ddec4698d1e83849
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu Nov 18 13:54:02 2021 +0100

    CAMEL-16912 - camel-jackson - Make it easy to configure property naming 
strategy
---
 .../main/java/org/apache/camel/model/dataformat/JsonDataFormat.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java
index 1ab4d95..96290df 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java
@@ -97,6 +97,8 @@ public class JsonDataFormat extends DataFormatDefinition 
implements ContentTypeH
     @Metadata(javaType = "java.lang.Boolean", defaultValue = "true")
     private String autoDiscoverSchemaResolver;
     @XmlAttribute
+    @Metadata(description = "If set then Jackson will use the the defined 
Property Naming Strategy."
+                            + "Possible values are: LOWER_CAMEL_CASE, 
LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE" )
     private String namingStrategy;
 
     public JsonDataFormat() {
@@ -439,7 +441,8 @@ public class JsonDataFormat extends DataFormatDefinition 
implements ContentTypeH
     }
 
     /**
-     * If set then Jackson will use the the defined Property Naming Strategy
+     * If set then Jackson will use the the defined Property Naming Strategy.
+     * Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, 
KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE
      */
     public void setNamingStrategy(String namingStrategy) {
         this.namingStrategy = namingStrategy;

Reply via email to