Spring Boot RabbitMQ Topic 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 Topic Exchange and queues using RabbitMQ. When the producer publishes messages to RabbitMQ server, they are not published directly to a queue, instead first they…

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…