Hello there,
I was wondering if I can specify a snaphotter for repositories specified for disruptor command bus?
The sample configuration for disruptor command bus is as below
<axon:disruptor-command-bus id="commandBus" event-store="eventStore" event-bus="eventBus" command-target-resolver="commandTargetResolver">
<axon:repositories>
<axon:repository id="exampleRepository" aggregate-type="org.axonframework.contextsupport.spring.DisruptorContextConfigurationTest.MyAggregate"/>
</axon:repositories>
</axon:disruptor-command-bus>
I would like to specify snaphotter for my repository as I can for a simple command bus
<axon:command-bus id="commandBus" transaction-manager="transactionManager">
<axon:handlerInterceptors>
<ref bean="myInterceptor"/>
</axon:handlerInterceptors>
</axon:command-bus>
<axon:event-bus id="eventBus"/>
<axon:snapshotter event-store="eventStore" id="axonSnapshotter" transaction-manager="transactionManager"/>
<!-- Definition of repositories -->
<axon:event-sourcing-repository id="exampleRepository" aggregate-type="org.axonframework.contextsupport.spring.DisruptorContextConfigurationTest.MyAggregate">
** <axon:snapshotter-trigger event-count-threshold="50" snapshotter-ref="axonSnapshotter"/>**
</axon:event-sourcing-repository>
I'm asking because I do not find documentation for it in the XSD of axon attached.
Best regards
Viswanath Jayachandran
axon-core-2.1.xsd (89.1 KB)