Confirm the EventBus is 'null' if i use 2.4, but works with 2.3.2
On startup it says that eventBus bean gets instantiated:
16:13:00.121 [localhost-startStop-1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'eventBus' to allow for resolving potential circular references
16:13:00.124 [localhost-startStop-1] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'eventBus' of type [class org.axonframework.eventhandling.ClusteringEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
16:13:00.124 [localhost-startStop-1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'eventBus'
Config is very simple:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans
<axon:annotation-config />
...
<bean class="org.axonframework.eventhandling.annotation.AnnotationEventListenerBeanPostProcessor">
<property name="eventBus" ref="eventBus"/>
</bean>
<axon:event-bus id="eventBus" />
...
</beans>