MongoDB GridFS
Since Camel Quarkus1.0.0 JVMsupported Nativesupported
Interact with MongoDB GridFS.
What’s inside
-
MongoDB GridFS component, URI syntax:
mongodb-gridfs:connectionBean
Please refer to the above link for usage and configuration details.
Maven coordinates
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-mongodb-gridfs</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
Additional Camel Quarkus configuration
The extension leverages the Quarkus MongoDB Client extension. The Mongo client can be configured via the Quarkus MongoDB Client configuration options.
The Camel Quarkus MongoDB extension automatically registers a MongoDB client bean named camelMongoClient
. This can be referenced in the mongodb endpoint URI
connectionBean
path parameter. For example:
from("direct:start") .to("mongodb-gridfs:camelMongoClient?database=test&operation=listAll")