// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
= Minio
:linkattrs:
:cq-artifact-id: camel-quarkus-minio
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable
:cq-description: Store and retrieve objects from Minio Storage Service using Minio SDK.
:cq-deprecated: false
:cq-jvm-since: 1.5.0
:cq-native-since: 1.6.0

[.badges]
[.badge-key]##JVM since##[.badge-supported]##1.5.0## [.badge-key]##Native since##[.badge-supported]##1.6.0##

Store and retrieve objects from Minio Storage Service using Minio SDK.

== What's inside

* xref:{cq-camel-components}::minio-component.adoc[Minio component], URI syntax: `minio:bucketName`

Please refer to the above link for usage and configuration details.

== Maven coordinates

https://code.quarkus.io/?extension-search=camel-quarkus-minio[Create a new project with this extension on code.quarkus.io, window="_blank"]

Or add the coordinates to your existing project:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-minio</artifactId>
</dependency>
----

Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.

== Additional Camel Quarkus configuration

Depending on Minio configuration, this extension may require SSL encryption on its connections. In such cases, you will need
to add `quarkus.ssl.native=true` to your `application.properties`.
See also https://quarkus.io/guides/native-and-ssl[Quarkus native SSL guide] and xref:user-guide/native-mode.adoc[Native mode]
section of Camel Quarkus user guide.

There are two different configuration approaches:

* Minio client can be defined via quarkus properties leveraging the Quarkiverse Minio (see http://github.com/quarkiverse/quarkiverse-minio#configuration-reference[documentation]).
Camel will autowire client into the Minio component.
This configuration allows definition of only one minio client, therefore it isn't possible to define several different minio endpoints, which run together.

* Provide client/clients for camel registry (e.g. CDI producer/bean) and reference them from endpoint.
[source,properties]
----
minio:foo?minioClient=#minioClient
----

