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 e41fa880c05a CAMEL-23103: camel-json-patch - Deprecate
e41fa880c05a is described below

commit e41fa880c05a9e4c7e74c7ea35704c290c15510a
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Feb 28 08:57:03 2026 +0100

    CAMEL-23103: camel-json-patch - Deprecate
---
 .../resources/org/apache/camel/catalog/components/json-patch.json    | 2 +-
 components/camel-json-patch/pom.xml                                  | 2 +-
 .../META-INF/org/apache/camel/component/jsonpatch/json-patch.json    | 2 +-
 .../META-INF/services/org/apache/camel/component.properties          | 2 +-
 components/camel-json-patch/src/main/docs/json-patch-component.adoc  | 5 +++--
 .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java    | 2 ++
 .../camel/builder/endpoint/dsl/JsonPatchEndpointBuilderFactory.java  | 3 +++
 7 files changed, 12 insertions(+), 6 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/json-patch.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/json-patch.json
index 7aedadf262d6..3e7bc935d033 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/json-patch.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/json-patch.json
@@ -4,7 +4,7 @@
     "name": "json-patch",
     "title": "JsonPatch",
     "description": "Transforms JSON using JSON patch (RFC 6902).",
-    "deprecated": false,
+    "deprecated": true,
     "firstVersion": "3.12.0",
     "label": "transformation",
     "javaType": "org.apache.camel.component.jsonpatch.JsonPatchComponent",
diff --git a/components/camel-json-patch/pom.xml 
b/components/camel-json-patch/pom.xml
index b2af6b3cf827..eb6b5c2aeb00 100644
--- a/components/camel-json-patch/pom.xml
+++ b/components/camel-json-patch/pom.xml
@@ -28,7 +28,7 @@
 
   <artifactId>camel-json-patch</artifactId>
   <packaging>jar</packaging>
-  <name>Camel :: JsonPatch</name>
+  <name>Camel :: JsonPatch (deprecated)</name>
   <description>Camel JsonPatch Component</description>
 
   <dependencies>
diff --git 
a/components/camel-json-patch/src/generated/resources/META-INF/org/apache/camel/component/jsonpatch/json-patch.json
 
b/components/camel-json-patch/src/generated/resources/META-INF/org/apache/camel/component/jsonpatch/json-patch.json
index 7aedadf262d6..3e7bc935d033 100644
--- 
a/components/camel-json-patch/src/generated/resources/META-INF/org/apache/camel/component/jsonpatch/json-patch.json
+++ 
b/components/camel-json-patch/src/generated/resources/META-INF/org/apache/camel/component/jsonpatch/json-patch.json
@@ -4,7 +4,7 @@
     "name": "json-patch",
     "title": "JsonPatch",
     "description": "Transforms JSON using JSON patch (RFC 6902).",
-    "deprecated": false,
+    "deprecated": true,
     "firstVersion": "3.12.0",
     "label": "transformation",
     "javaType": "org.apache.camel.component.jsonpatch.JsonPatchComponent",
diff --git 
a/components/camel-json-patch/src/generated/resources/META-INF/services/org/apache/camel/component.properties
 
b/components/camel-json-patch/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index 18da9d5bc556..9efe9ed8b459 100644
--- 
a/components/camel-json-patch/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++ 
b/components/camel-json-patch/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -3,5 +3,5 @@ components=json-patch
 groupId=org.apache.camel
 artifactId=camel-json-patch
 version=4.19.0-SNAPSHOT
-projectName=Camel :: JsonPatch
+projectName=Camel :: JsonPatch (deprecated)
 projectDescription=Camel JsonPatch Component
diff --git 
a/components/camel-json-patch/src/main/docs/json-patch-component.adoc 
b/components/camel-json-patch/src/main/docs/json-patch-component.adoc
index 65bbe5f14144..efe33de2c096 100644
--- a/components/camel-json-patch/src/main/docs/json-patch-component.adoc
+++ b/components/camel-json-patch/src/main/docs/json-patch-component.adoc
@@ -1,10 +1,11 @@
-= JsonPatch Component
+= JsonPatch Component (deprecated)
 :doctitle: JsonPatch
 :shortname: json-patch
 :artifactid: camel-json-patch
 :description: Transforms JSON using JSON patch (RFC 6902).
 :since: 3.12
-:supportlevel: Stable
+:supportlevel: Stable-deprecated
+:deprecated: *deprecated*
 :tabs-sync-option:
 :component-header: Only producer is supported
 //Manually maintained attributes
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index b4091a624b1f..8816cab185f1 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -9026,6 +9026,7 @@ public class StaticEndpointBuilders {
      * @param path resourceUri
      * @return the dsl builder
      */
+    @Deprecated
     public static JsonPatchEndpointBuilderFactory.JsonPatchEndpointBuilder 
jsonPatch(String path) {
         return jsonPatch("json-patch", path);
     }
@@ -9053,6 +9054,7 @@ public class StaticEndpointBuilders {
      * @param path resourceUri
      * @return the dsl builder
      */
+    @Deprecated
     public static JsonPatchEndpointBuilderFactory.JsonPatchEndpointBuilder 
jsonPatch(String componentName, String path) {
         return JsonPatchEndpointBuilderFactory.endpointBuilder(componentName, 
path);
     }
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonPatchEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonPatchEndpointBuilderFactory.java
index c77213d0ccb5..6936698648e6 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonPatchEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonPatchEndpointBuilderFactory.java
@@ -221,6 +221,7 @@ public interface JsonPatchEndpointBuilderFactory {
          * 
          * @return the dsl builder for the headers' name.
          */
+        @Deprecated
         default JsonPatchHeaderNameBuilder jsonPatch() {
             return JsonPatchHeaderNameBuilder.INSTANCE;
         }
@@ -247,6 +248,7 @@ public interface JsonPatchEndpointBuilderFactory {
          * @param path resourceUri
          * @return the dsl builder
          */
+        @Deprecated
         default JsonPatchEndpointBuilder jsonPatch(String path) {
             return 
JsonPatchEndpointBuilderFactory.endpointBuilder("json-patch", path);
         }
@@ -275,6 +277,7 @@ public interface JsonPatchEndpointBuilderFactory {
          * @param path resourceUri
          * @return the dsl builder
          */
+        @Deprecated
         default JsonPatchEndpointBuilder jsonPatch(String componentName, 
String path) {
             return 
JsonPatchEndpointBuilderFactory.endpointBuilder(componentName, path);
         }

Reply via email to