Summary
In this chapter, we created a message-based solution for users to comment on images. We first used Spring AMQP and RabbitTemplate
to dispatch writes to a separate slice. Then we replaced that with Spring Cloud Stream with RabbitMQ bindings. That let us solve the comments situation with messaging, but without our code being bound to a specific transport technology.
In the next chapter, we'll break up our quickly growing, monolithic application into smaller microservices and use Spring Cloud to simplify integration between these distributed components.