// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
[id="extensions-file"]
= File
:page-aliases: extensions/file.adoc
:linkattrs:
:cq-artifact-id: camel-quarkus-file
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable
:cq-description: Read and write files.
:cq-deprecated: false
:cq-jvm-since: 0.4.0
:cq-native-since: 0.4.0

ifeval::[{doc-show-badges} == true]
[.badges]
[.badge-key]##JVM since##[.badge-supported]##0.4.0## [.badge-key]##Native since##[.badge-supported]##0.4.0##
endif::[]

Read and write files.

[id="extensions-file-whats-inside"]
== What's inside

* xref:{cq-camel-components}::file-component.adoc[File component], URI syntax: `file:directoryName`

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

[id="extensions-file-maven-coordinates"]
== Maven coordinates

https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-file[Create a new project with this extension on {link-quarkus-code-generator}, window="_blank"]

Or add the coordinates to your existing project:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-file</artifactId>
</dependency>
----
ifeval::[{doc-show-user-guide-link} == true]
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
endif::[]

[id="extensions-file-additional-camel-quarkus-configuration"]
== Additional Camel Quarkus configuration

[id="extensions-file-configuration-having-only-a-single-consumer-in-a-cluster-consuming-from-a-given-endpoint"]
=== Having only a single consumer in a cluster consuming from a given endpoint

This functionality is provided by the `camel-quarkus-file-cluster-service` extension.
Refer to the xref:reference/extensions/file-cluster-service.adoc[extension documentation] for more information.

