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 in native mode implement java.io.Serializable
and are not automatically registered for serialization, you have to register them for serialization. Look into 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.