Double execution of @EventHandler methods in Spring Components

Hi. I’ve a Spring bean which has one method annotated with @EventHandler handling an event applied by an aggregate root entity. My event bus is configured to use RabbitMQ. The problem is that the @EventHandler method is executed two times for the same event message. Why does it behave like that?

Hi Alessio,

is the bean perhaps registered twice? If registration os done automatically, and also ‘manually’ the Cluster implementations could deliver it twice.