I am trying to get everything working without spring boot autoconfigure. Seems a lot changed from 3 to 4 …
With 3 I had:
final BankAccountProjection projection = new BankAccountProjection();
final Configuration configuration = DefaultConfigurer.defaultConfiguration()
.configureEventStore(c -> eventStore)
.registerEventHandler(c -> projection))
.registerQueryHandler(c -> projection)
But with 4, I fail to find the EventHandlingConfiguration to register the eventHandler. Ideas?
also: when I use my projection for event- and query handling, I will need to inject the queryUpdater, which I will probably not get upfront. How to enhance the configuration so my projection is update aware? Thanks!