Spring Boot Integration Testing with Testcontainers and DB2

In this blog post I show how to do Spring Boot integration testing with Testcontainers using DB2 database. I have already written a detailed blog post about database integration testing with Spring Boot and Testcontainers in following article In above blog post, I have used PostgresSQL database. In this blog post , I will only…

Run DB2 Database with Docker Compose

This tutorial will show you how to setup DB2 database (community edition) with Docker Compose. While DB2 database is commercial product, it also provides community edition with limitations on resources which is free to use. Community Edition has following limitations, which are automatically enforced: Memory limit: 16GB Core limit: 4 cores Required Software Docker DBeaver…

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…