You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be interesting to offer an Auto configuration for the mongo implementations of the given components:
TokenStore
SagaStore
Current Behaviour
I have these artefacts in my dependencies:
axon-spring-boot-starter
axon-mongo
The following components are not provided out of the box:
TokenStore
SagaStore
Wanted Behaviour
I expected to have the same behaviour as JPA, meaning that the components mentioned above should be provided. I think for clarity we could create another module like 'axon-mongo-...-starter'.
Possible Workarounds
I created a module in my project to work around this:
A SpringMongoTemplate to ensure the factory is used each time to get the database, to ensure transaction works, see transaction test project.
Default to use the SpringTransactionmanager based on the Spring MongoTransactionManager as the transaction manager.
Have simple true/false properties to enable parts. By default, create the TokenStore, SequecencedDeadletterQueue and Sagastore and not the EventStorageEngine.
Enhancement Description
I think it would be interesting to offer an Auto configuration for the mongo implementations of the given components:
Current Behaviour
I have these artefacts in my dependencies:
The following components are not provided out of the box:
Wanted Behaviour
I expected to have the same behaviour as JPA, meaning that the components mentioned above should be provided. I think for clarity we could create another module like 'axon-mongo-...-starter'.
Possible Workarounds
I created a module in my project to work around this:
The text was updated successfully, but these errors were encountered: