You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/07/30 07:02:51 UTC

[camel] 01/03: Fixed minor typos

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

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

commit f81716e82f8b8f18fb3aeefe170860eff9f62c4a
Author: Ganapathy Ganesan <g....@gmail.com>
AuthorDate: Sat Jul 28 19:45:34 2018 +0530

    Fixed minor typos
---
 .../camel-jacksonxml/src/main/docs/jacksonxml-dataformat.adoc       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-jacksonxml/src/main/docs/jacksonxml-dataformat.adoc b/components/camel-jacksonxml/src/main/docs/jacksonxml-dataformat.adoc
index ce8eb91..a8cf1a1 100644
--- a/components/camel-jacksonxml/src/main/docs/jacksonxml-dataformat.adoc
+++ b/components/camel-jacksonxml/src/main/docs/jacksonxml-dataformat.adoc
@@ -44,7 +44,7 @@ The JacksonXML dataformat supports 15 options, which are listed below.
 | prettyPrint | false | Boolean | To enable pretty printing output nicely formatted. Is by default false.
 | unmarshalTypeName |  | String | Class name of the java type to use when unarmshalling
 | jsonView |  | Class<?> | When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output. With Jackson you can use JSON views to accomplish this. This option is to refer to the class which has JsonView annotations
-| include |  | String | If you want to marshal a pojo to JSON, and the pojo has some fields with null values. And you want to skip these null values, you can set this option to NOT_NULL
+| include |  | String | If you want to marshal a pojo to JSON, and the pojo has some fields with null values. And you want to skip these null values, you can set this option to NON_NULL
 | allowJmsType | false | Boolean | Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.
 | collectionTypeName |  | String | Refers to a custom collection type to lookup in the registry to use. This option should rarely be used, but allows to use different collection types than java.util.Collection based as default.
 | useList | false | Boolean | To unarmshal to a List of Map or a List of Pojo.
@@ -99,7 +99,7 @@ The component supports 16 options, which are listed below.
 | *camel.dataformat.jacksonxml.enabled* | Enable jacksonxml dataformat | true | Boolean
 | *camel.dataformat.jacksonxml.include* | If you want to marshal a pojo to JSON, and the pojo has some fields with
  null values. And you want to skip these null values, you can set this
- option to NOT_NULL |  | String
+ option to NON_NULL |  | String
 | *camel.dataformat.jacksonxml.json-view* | When marshalling a POJO to JSON you might want to exclude certain fields
  from the JSON output. With Jackson you can use JSON views to accomplish
  this. This option is to refer to the class which has JsonView annotations |  | Class
@@ -222,7 +222,7 @@ Or from XML DSL you configure this as
 [source,java]
 ------------------------------------------------------
     <dataFormats>
-      <jacksonxml id="jacksonxml" include="NOT_NULL"/>
+      <jacksonxml id="jacksonxml" include="NON_NULL"/>
     </dataFormats>
 ------------------------------------------------------