You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/03/21 18:31:29 UTC

[camel] 03/06: CAMEL-19178: camel-common-http - Make HttpBinding more reusable

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

commit 894a1b9515d8cc2c10456dcda5e1fa87d67f6e0c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Mar 21 13:51:30 2023 +0100

    CAMEL-19178: camel-common-http - Make HttpBinding more reusable
---
 .../user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc | 6 ++++++
 docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc    | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc
index 115b69793a1..d340cc108b0 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc
@@ -30,6 +30,12 @@ one of each out of the box.
 
 The option `camel.main.routesReloadRestartDuration` has changed its default value from `true` to `false`.
 
+=== camel-http-common
+
+The API in `org.apache.camel.http.common.HttpBinding` has changed slightly to be more reusable.
+The `parseBody` method now takes in `HttpServletRequest` as input parameter. And all `HttpMessage`
+has been changed to generic `Message` types.
+
 === camel-jaxb
 
 When using schema validation, then access to external DTD/Schema is disabled by default.
diff --git a/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc b/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc
index 485abb0cee0..1b4a3542bab 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc
@@ -165,6 +165,12 @@ There is also a noticeable behavior change regarding the `socketTimeout`, it is
 Finally, the options `connectTimeout` and `socketTimeout` along with any parameters included into `SocketConfig` and `ConnectionConfig`, need to be prefixed by `httpConnection.`,
 the rest of the parameters including those defined into `HttpClientBuilder` and `RequestConfig` still need to be prefixed by `httpClient.` like before.
 
+=== camel-http-common
+
+The API in `org.apache.camel.http.common.HttpBinding` has changed slightly to be more reusable.
+The `parseBody` method now takes in `HttpServletRequest` as input parameter. And all `HttpMessage`
+has been changed to generic `Message` types.
+
 === camel-micrometer-starter
 
 The `uri` tags are now static instead of dynamic (by default), as potential too many tags generated due to URI with dynamic values.