We are trying to filter out an event which we no longer wish to process. The recommended method seems to be to use a FilteringEventStorageEngine in the following way:
public void configureEventStorageEngine(Configurer configurer) {
EventStorageEngine delegate = ...;
configurer.configureEmbeddedEventStore(c -> new FilteringEventStorageEngine(delegate, em -> em instanceof DomainEventMessage));
}
What we’re not sure of is how to delegate to the AxonDB event store we’re using.
Could somebody please provide an example of how to do this or point me in the direction of some documentation?
Thanks