Issues reading events from RabbitMQ queue on Axon 3.3.5

Using Axon 3.3.5, I am trying to read events from an AMQP queue.

Hi Marcos,

On you should define:

and try to use it:

public class AMQPConfig {

public SpringAMQPMessageSource teamQueueMessageSource(Serializer serializer) {
return new SpringAMQPMessageSource(new DefaultAMQPMessageConverter(serializer)) {

@RabbitListener(queues = “team”)
public void onMessage(Message message, Channel channel) {
log.debug(“Event Received: {}”);

log.debug(“Event Received: {}”, message);
super.onMessage(message, channel);