Nitrite
JVM since1.0.0 Native since1.8.0
Access Nitrite databases.
What’s inside
-
Nitrite component, URI syntax:
nitrite:database
Please refer to the above link for usage and configuration details.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-nitrite</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
Usage
If your persistence objects implement java.io.Serializable
, you have to add configuration of all serializable classes.
There is a new serialization support in GraalVM 21.0. Developers can configure classes
for serialization via the serialization configuration file
-H:SerializationConfigurationResources=/path/to-serialization-config.json
option. For more
information see PR with feature.
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.