[axonframework] Events not publishing to RabbitMQ on Mongodb configuration

Hi Kasun,

the configuration looks a bit odd. @AutoConfigureBefore/After don’t really belong on (regular) configuration files. Also, it shouldn’t be necessary to register EventProcessorProperties yourself. The Axon-Spring Boot Starter will take care of this for you. Are you using Spring Boot?

This class also doesn’t contain any configuration for AMQP, so it’s hard to see why this doesn’t work.