Package org.axonframework.extensions.mongo
@NullMarked
package org.axonframework.extensions.mongo
Access to the Mongo collections the components in this module read and write, through
MongoTemplate and its
default implementation.
These types carry the API of the Axon Framework 4 Mongo extension, to ease migration of projects that cannot move off
it in one go. The one departure is scope: the extension's MongoTemplate also handed out the domain event,
snapshot, tracking token and dead letter collections, and only the saga collection has a component here to use it.
The Mongo driver is an optional dependency of this module, so these types are only usable by a project that declares it.
-
ClassDescriptionAbstract implementation for Mongo templates.Abstract Builder class to instantiate a
AbstractMongoTemplate.MongoTemplate instance giving direct access to the saga collection via a given MongoClient instance.Builder class to instantiate aDefaultMongoTemplate.Template object providing access to the collections necessary for the Mongo based components.