// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
[id="extensions-nitrite"]
= Nitrite
:page-aliases: extensions/nitrite.adoc
:linkattrs:
:cq-artifact-id: camel-quarkus-nitrite
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable Deprecated
:cq-description: Access Nitrite databases.
:cq-deprecated: true
:cq-jvm-since: 1.0.0
:cq-native-since: 1.8.0

ifeval::[{doc-show-badges} == true]
[.badges]
[.badge-key]##JVM since##[.badge-supported]##1.0.0## [.badge-key]##Native since##[.badge-supported]##1.8.0## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated##
endif::[]

Access Nitrite databases.

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

* xref:{cq-camel-components}::nitrite-component.adoc[Nitrite component], URI syntax: `nitrite:database`

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

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

https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-nitrite[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-nitrite</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-nitrite-usage"]
== Usage
If your persistence objects in native mode implement `java.io.Serializable` and are not automatically registered for serialization,
you have to register them for serialization. Look into xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[documentation]
to see which classes are registered and how to register other ones.


If your persistence objects implement `org.dizitart.no2.mapper.Mappable`. All classes have to
implement also `java.io.Serializable` and have to be registered for serialization (see previous option),
even though the Java serialization won't be used.

