Spring Boot RabbitMQ Direct 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 in a queue using RabbitMQ. What is a RabbitMQ? RabbitMQ is an enterprise-grade messaging platform that is used to send and receive messages at a scale…

Introduction to RabbitMQ Architecture

This blog post explains what is RabbitMQ and message queueing and also gives brief understanding of architecture of RabbitMQ. What is RabbitMQ RabbitMQ is a open source message broker  also known as a message-queueing software or queue manager. It receives and delivers message from and to applications. It is software where queues are defined, to which applications connect…

Using Testcontainers without JUnit4 dependency

In this blog post I will explain how to run integration test with Testcontainers without using JUnit4 dependency. Testcontainers has support for JUnit5 but it has dependency on JUnit4 libraries. Java frameworks either new or old frameworks with newer versions are not including the JUnit4 dependencies. For example, Spring Boot version 2.4.2 completely removed JUnit4…

Setup RabbitMQ with Docker Compose

This tutorial will show you how to setup RabbitMQ with Docker and docker-compose. RabbitMQ is the most widely deployed open source message broker. RabbitMQ is lightweight and easy to deploy on premises and in the cloud. It supports multiple messaging protocols.Most organizations use RabbitMQ to send and receive messages to communicate between different application/services For…