You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/03/27 10:30:33 UTC
(camel) branch main updated: CAMEL-20622: added documentation
This is an automated email from the ASF dual-hosted git repository.
orpiske 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 70b3837f150 CAMEL-20622: added documentation
70b3837f150 is described below
commit 70b3837f150bf0c6c29d7e09fa67f8f7ad995bc2
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Mar 27 11:30:18 2024 +0100
CAMEL-20622: added documentation
---
.../src/main/docs/qdrant-component.adoc | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/components/camel-qdrant/src/main/docs/qdrant-component.adoc b/components/camel-qdrant/src/main/docs/qdrant-component.adoc
index 35a089ca5ad..043f62aa18c 100644
--- a/components/camel-qdrant/src/main/docs/qdrant-component.adoc
+++ b/components/camel-qdrant/src/main/docs/qdrant-component.adoc
@@ -131,4 +131,29 @@ from("direct:in")
----
====
+=== INFO
+
+In the route below, we use the qdrant component to get information about the collection named `myCollection`:
+
+[tabs]
+====
+Java::
++
+[source,java]
+----
+from("direct:in")
+ .setHeader(Qdrant.Headers.ACTION)
+ .constant(QdrantAction.COLLECTION_INFO)
+ .to("qdrant:myCollection")
+ .process(this::process);
+----
+
+If there is a collection, you will receive a reply of type `Collections.CollectionInfo`.
+If there is not, the exchange will contain an exception of type `QdrantActionException` with a cause of type
+`StatusRuntimeException statusRuntimeException` and status `Status.NOT_FOUND`.
+====
+
+
+
+
include::spring-boot:partial$starter.adoc[]