Hi all,
What is the correct means to inject Spring beans into my Aggregate @EventSourcedHandler methods? I am aware of the registerParameterResolverFactory method on the aggregate but am not sure when & how to register the SpringBeanParameterResolver.
@CommandHandler methods are injected successfully & are configured via AnnotationCommandHandlerFactoryBean.
My aggregate @EventSourcedHandler methods are not called on applying events within a @CommandHandler.
I am injecting Spring Beans into all @CommandHandler & @EventSourcedHandler methods.
Cheers,
Roscoe