Now, let's create our configuration class. The class is pretty simple and as we will see with the Spring abstraction, they are easy to understand too, especially because the class names allude to the RabbitMQ entities.
Let's create our class:
package springfive.twittergathering.infra.rabbitmqimport com.fasterxml.jackson.databind.ObjectMapperimport com.fasterxml.jackson.module.kotlin.KotlinModuleimport org.springframework.amqp.core.Bindingimport org.springframework.amqp.core.BindingBuilderimport org.springframework.amqp.core.Queueimport org.springframework.amqp.core.TopicExchangeimport org.springframework.amqp.support.converter.Jackson2JsonMessageConverterimport org.springframework.beans.factory.annotation. ...