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-spring-boot.git
The following commit(s) were added to refs/heads/master by this push:
new 743e96e [create-pull-request] automated change
743e96e is described below
commit 743e96e36f5be13d80919320f2ebad88444538ed
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Oct 17 01:13:42 2020 +0000
[create-pull-request] automated change
---
components-starter/README.adoc | 4 ++-
docs/modules/ROOT/pages/jsonb-starter.adoc | 34 ++++++++++++++++++++++++++
docs/modules/ROOT/pages/list.adoc | 4 ++-
tooling/camel-spring-boot-bom/pom.xml | 5 ++++
tooling/camel-spring-boot-dependencies/pom.xml | 10 ++++++++
5 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/components-starter/README.adoc b/components-starter/README.adoc
index dae2670..7d3bd4f 100644
--- a/components-starter/README.adoc
+++ b/components-starter/README.adoc
@@ -696,7 +696,7 @@ Number of Camel components: 340 in 273 JAR artifacts (3
deprecated)
== Camel Data Formats
// dataformats: START
-Number of Camel data formats: 45 in 37 JAR artifacts (0 deprecated)
+Number of Camel data formats: 46 in 38 JAR artifacts (0 deprecated)
[width="100%",cols="4,3,3,3,6",options="header"]
|===
@@ -752,6 +752,8 @@ Number of Camel data formats: 45 in 37 JAR artifacts (0
deprecated)
|
link:https://camel.apache.org/components/latest/dataformats/json-johnzon-dataformat.html[JSON
Johnzon] | camel-johnzon-starter | Stable | 2.18 | Marshal POJOs to JSON and
back using Johnzon
+|
link:https://camel.apache.org/components/latest/dataformats/json-jsonb-dataformat.html[JSON
JSON-B] | camel-jsonb-starter | Preview | 3.7 | Marshal POJOs to JSON and back
using JSON-B.
+
|
link:https://camel.apache.org/components/latest/dataformats/json-xstream-dataformat.html[JSON
XStream] | camel-xstream-starter | Stable | 2.0 | Marshal POJOs to JSON and
back using XStream
|
link:https://camel.apache.org/components/latest/dataformats/jsonApi-dataformat.html[JSonApi]
| camel-jsonapi-starter | Stable | 3.0 | Marshal and unmarshal JSON:API
resources using JSONAPI-Converter library.
diff --git a/docs/modules/ROOT/pages/jsonb-starter.adoc
b/docs/modules/ROOT/pages/jsonb-starter.adoc
new file mode 100644
index 0000000..5ea1118
--- /dev/null
+++ b/docs/modules/ROOT/pages/jsonb-starter.adoc
@@ -0,0 +1,34 @@
+// spring-boot-auto-configure options: START
+:page-partial:
+:doctitle: Camel Spring Boot Starter for jsonb
+
+== Spring Boot Auto-Configuration
+
+When using jsonb with Spring Boot make sure to use the following Maven
dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-jsonb-starter</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 4 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.dataformat.json-jsonb.enabled* | Whether to enable auto configuration
of the json-jsonb data format. This is enabled by default. | | Boolean
+| *camel.dataformat.json-jsonb.object-mapper* | Lookup and use the existing
Jsonb instance with the given id. | | String
+| *camel.dataformat.json-jsonb.pretty-print* | To enable pretty printing
output nicely formatted. Is by default false. | false | Boolean
+| *camel.dataformat.json-jsonb.unmarshal-type-name* | Class name of the java
type to use when unmarshalling | | String
+|===
+
+
+// spring-boot-auto-configure options: END
diff --git a/docs/modules/ROOT/pages/list.adoc
b/docs/modules/ROOT/pages/list.adoc
index dae2670..7d3bd4f 100644
--- a/docs/modules/ROOT/pages/list.adoc
+++ b/docs/modules/ROOT/pages/list.adoc
@@ -696,7 +696,7 @@ Number of Camel components: 340 in 273 JAR artifacts (3
deprecated)
== Camel Data Formats
// dataformats: START
-Number of Camel data formats: 45 in 37 JAR artifacts (0 deprecated)
+Number of Camel data formats: 46 in 38 JAR artifacts (0 deprecated)
[width="100%",cols="4,3,3,3,6",options="header"]
|===
@@ -752,6 +752,8 @@ Number of Camel data formats: 45 in 37 JAR artifacts (0
deprecated)
|
link:https://camel.apache.org/components/latest/dataformats/json-johnzon-dataformat.html[JSON
Johnzon] | camel-johnzon-starter | Stable | 2.18 | Marshal POJOs to JSON and
back using Johnzon
+|
link:https://camel.apache.org/components/latest/dataformats/json-jsonb-dataformat.html[JSON
JSON-B] | camel-jsonb-starter | Preview | 3.7 | Marshal POJOs to JSON and back
using JSON-B.
+
|
link:https://camel.apache.org/components/latest/dataformats/json-xstream-dataformat.html[JSON
XStream] | camel-xstream-starter | Stable | 2.0 | Marshal POJOs to JSON and
back using XStream
|
link:https://camel.apache.org/components/latest/dataformats/jsonApi-dataformat.html[JSonApi]
| camel-jsonapi-starter | Stable | 3.0 | Marshal and unmarshal JSON:API
resources using JSONAPI-Converter library.
diff --git a/tooling/camel-spring-boot-bom/pom.xml
b/tooling/camel-spring-boot-bom/pom.xml
index bbd7777..0a947aa 100644
--- a/tooling/camel-spring-boot-bom/pom.xml
+++ b/tooling/camel-spring-boot-bom/pom.xml
@@ -947,6 +947,11 @@
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-jsonb-starter</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-jsonpath-starter</artifactId>
<version>${project.version}</version>
</dependency>
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index 0b9b0ee..4071d01 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -1153,6 +1153,11 @@
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-jsonb-starter</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-jsonpath-starter</artifactId>
<version>${project.version}</version>
</dependency>
@@ -2969,6 +2974,11 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
+ <artifactId>camel-joor</artifactId>
+ <version>3.6.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
<artifactId>camel-jpa</artifactId>
<version>3.6.0-SNAPSHOT</version>
</dependency>