|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MongoTemplate
Generic template for accessing Mongo for the axon sagas.
You can ask for the collection of domain events as well as the collection of sagas and association values. We use the mongo client mongo-java-driver. This is a wrapper around the standard mongo methods. For convenience the interface also gives access to the database that contains the axon saga collections.
Implementations of this interface must provide the connection to Mongo.
Method Summary | |
---|---|
com.mongodb.client.MongoCollection<org.bson.Document> |
sagaCollection()
Returns a reference to the collection containing the saga instances. |
Method Detail |
---|
com.mongodb.client.MongoCollection<org.bson.Document> sagaCollection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |