This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 1f0e2a1 Polished
1f0e2a1 is described below
commit 1f0e2a1eb2226f092f7b18fc60f6974514142177
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Sep 23 12:39:26 2021 +0200
Polished
---
.../ROOT/pages/camel-3x-upgrade-guide-3_12.adoc | 29 +++++++++-------------
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_12.adoc
b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_12.adoc
index 4169181..b47ed73 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_12.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_12.adoc
@@ -21,22 +21,18 @@ use the methods that take `String` as type.
=== Data Formats
-The `camel-asn1` data format has renamed the option `clazzName` to
`unmarshalType`.
-The `camel-avro` data format has renamed the option `collectionTypeName` to
`collectionType`.
-The `camel-avro` data format has renamed the option `jsonViewTypeName` to
`jsonView`.
-The `camel-avro` data format has renamed the option `unmarshalTypeName` to
`unmarshalType`.
-The `camel-cbor` data format has renamed the option `collectionTypeName` to
`collectionType`.
-The `camel-cbor` data format has renamed the option `unmarshalTypeName` to
`unmarshalType`.
-The `camel-jacksonxml` data format has renamed the option `collectionTypeName`
to `collectionType`.
-The `camel-jacksonxml` data format has renamed the option `jsonViewTypeName`
to `jsonView`.
-The `camel-jacksonxml` data format has renamed the option `unmarshalTypeName`
to `unmarshalType`.
-The `camel-json` data format has renamed the option `collectionTypeName` to
`collectionType`.
-The `camel-json` data format has renamed the option `jsonViewTypeName` to
`jsonView`.
-The `camel-json` data format has renamed the option `unmarshalTypeName` to
`unmarshalType`.
-The `camel-protobuf` data format has renamed the option `collectionTypeName`
to `collectionType`.
-The `camel-protobuf` data format has renamed the option `jsonViewTypeName` to
`jsonView`.
-The `camel-protobuf` data format has renamed the option `unmarshalTypeName` to
`unmarshalType`.
-The `camel-yaml` data format has renamed the option `unmarshalTypeName` to
`unmarshalType`.
+We had to fix all the data-formats options that take a Java classname to
support
+using the `.class` type in Java vs using a string value in XML/YAML.
+
+This means the following options has been renamed:
+
+- `camel-asn1` renamed `clazzName` to `unmarshalType`
+- `camel-avro` renamed `collectionTypeName` to `collectionType`, and
`jsonViewTypeName` to `jsonView`, and `unmarshalTypeName` to `unmarshalType`
+- `camel-cbor` renamed `collectionTypeName` to `collectionType`, and
`unmarshalTypeName` to `unmarshalType`
+- `camel-jacksonxml` renamed `collectionTypeName` to `collectionType`, and
`jsonViewTypeName` to `jsonView`, and `unmarshalTypeName` to `unmarshalType`
+- `camel-json` renamed `collectionTypeName` to `collectionType`, and
`jsonViewTypeName` to `jsonView`, and `unmarshalTypeName` to `unmarshalType`
+- `camel-protobuf` renamed `collectionTypeName` to `collectionType`, and
`jsonViewTypeName` to `jsonView`, and `unmarshalTypeName` to `unmarshalType`
+- `camel-yaml` renamed `unmarshalTypeName` to `unmarshalType`
=== camel-catalog
@@ -69,7 +65,6 @@ Before the value in use may be from an ENV variable with the
same name.
The `camel-kafka` component was refactored to avoid blocking API calls in the
Kafka consumer. As part of the refactoring the configuration `consumerStreams`
was removed. In previous versions this setting configured the size thread pool
used by the component to create Kafka consumers. As of 3.12, the size of the
thread pool is set to be the same as the number of concurrent consumers (set by
`consumersCount`).
-
=== camel-spark
The `camel-spark` component has been upgraded from Spark 2.x to 3.x.