This is an automated email from the ASF dual-hosted git repository.
apupier 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 1a467798bb70 Remove deprecated code Qdrant.Headers
1a467798bb70 is described below
commit 1a467798bb70e4038d4f488885669a242ed627c8
Author: Aurélien Pupier <[email protected]>
AuthorDate: Mon Feb 9 14:04:21 2026 +0100
Remove deprecated code Qdrant.Headers
Signed-off-by: Aurélien Pupier <[email protected]>
---
.../org/apache/camel/component/qdrant/Qdrant.java | 42 ----------------------
.../ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 4 +++
2 files changed, 4 insertions(+), 42 deletions(-)
diff --git
a/components/camel-ai/camel-qdrant/src/main/java/org/apache/camel/component/qdrant/Qdrant.java
b/components/camel-ai/camel-qdrant/src/main/java/org/apache/camel/component/qdrant/Qdrant.java
index e94ed74e0670..1f30d9644b1e 100644
---
a/components/camel-ai/camel-qdrant/src/main/java/org/apache/camel/component/qdrant/Qdrant.java
+++
b/components/camel-ai/camel-qdrant/src/main/java/org/apache/camel/component/qdrant/Qdrant.java
@@ -16,51 +16,9 @@
*/
package org.apache.camel.component.qdrant;
-import org.apache.camel.spi.Metadata;
-
public class Qdrant {
public static final String SCHEME = "qdrant";
private Qdrant() {
}
-
- /**
- * @deprecated As of Camel 4.15, this nested Headers class has been moved
to its own class. Use
- * {@link org.apache.camel.component.qdrant.QdrantHeaders}
instead.
- */
- @Deprecated
- public static class Headers {
- @Metadata(description = "The action to be performed.", javaType =
"String",
- enums =
"CREATE_COLLECTION,DELETE_COLLECTION,UPSERT,RETRIEVE,DELETE,COLLECTION_INFO,SIMILARITY_SEARCH")
- public static final String ACTION = "CamelQdrantAction";
-
- @Metadata(description = "Payload Selector.", javaType =
"io.qdrant.client.grpc.Points$WithPayloadSelector")
- public static final String PAYLOAD_SELECTOR =
"CamelQdrantPointsPayloadSelector";
-
- @Metadata(description = "Operation ID.", javaType = "long")
- public static final String OPERATION_ID = "CamelQdrantOperationID";
-
- @Metadata(description = "Operation Status.", javaType = "String")
- public static final String OPERATION_STATUS =
"CamelQdrantOperationStatus";
-
- @Metadata(description = "Operation Status Value.", javaType = "int")
- public static final String OPERATION_STATUS_VALUE =
"CamelQdrantOperationStatusValue";
-
- @Metadata(description = "Read Consistency.", javaType =
"io.qdrant.client.grpc.Points$ReadConsistency")
- public static final String READ_CONSISTENCY =
"CamelQdrantReadConsistency";
-
- @Metadata(description = "Include Payload.", javaType = "boolean",
defaultValue = "true")
- public static final String INCLUDE_PAYLOAD = "CamelQdrantWithPayload";
- public static final boolean DEFAULT_INCLUDE_PAYLOAD = true;
-
- @Metadata(description = "Include Vectors.", javaType = "boolean",
defaultValue = "false")
- public static final String INCLUDE_VECTORS = "CamelQdrantWithVectors";
- public static final boolean DEFAULT_INCLUDE_VECTORS = false;
-
- @Metadata(description = "The number of elements.", javaType = "int")
- public static final String SIZE = "CamelQdrantSize";
-
- @Metadata(description = "The point id to use for operation.", javaType
= "int")
- public static final String POINT_ID = "CamelQdrantPointId";
- }
}
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
index 5c5a2f90c47d..3e2e169995d3 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
@@ -34,6 +34,10 @@ The option `extractAllMetadata` has been removed. Using
`includeRawMetadata` wil
It corresponds to the removal of functionality no more working since 4.17.
Given that this functionality was never available in a LTS version,that the
next LST version is the next one and the fix requires important change in
upstream dependency; it is not going through a deprecation phase and removed
directly.
+=== camel-qdrant
+
+The class `org.apache.camel.component.qdrant.Qdrant.Headers` has been removed.
It was deprecated since 4.15. It is replaced by
`org.apache.camel.component.qdrant.QdrantHeaders`.
+
=== camel-tahu
The upgrade of Tahu from 1.0.17 to 1.0.18 introduced an API break.
HostApplicationEventHandler has been renamed to
MultiHostApplicationEventHandler and introduced one more parameter on all
methods.