Spring Boot – Testing RabbitMQ with Testcontainers

In this tutorial, I will explain how to do integrating testing of spring boot applications which uses RabbitMQ server for messaging using Testcontainers. In my previous blog post I have covered how to write RabbitMQ producer and consumer application using Spring Boot framework. Now, we will write integration tests for testing the logic of RabbitMQ…

Send and Receive Documents and Images With RabbitMQ in Spring Boot

In this blog post I will cover how to send and receive Documents and Images using RabbitMQ in Spring Boot application. Previously ( part-i , part-ii, part-iii, part-iv, part-v) I have covered about Sending messages using RabbitMQ in Spring Boot applications. In those examples I have used RabbitMQ to send objects between applications using json…

Spring Boot RabbitMQ Default Exchange Example

In this tutorial, we’ll examine how to integrate RabbitMQ with Spring Boot applications to send and receive messages using the Default Exchange. This is the fourth post in this series. First part covers about Direct Exchange Second part covers about Topic Exchange Third part covers about Fanout Exchange Fourth part covers about Headers Exchange Default exchange The default…

Spring Boot RabbitMQ Headers Exchange Example

In this tutorial, we’ll go through the step by step guide to implement messaging using RabbitMQ in a Spring Boot Application and will see how to publish and consume messages to Header Exchange and queues using RabbitMQ. Headers Exchange Example When the producer publishes messages to RabbitMQ server , they are not published directly to a…