ActiveMQ and Spring Boot Message queue Tutorial (w/ Examples)
How to create a producer and consumer to send and consume messages using message queue.
How to create a producer and consumer to send and consume messages using message queue.
Recently, I needed to work with ActiveMQ. As a docker fan, I couldn’t find the latest version (5.17.2) docker image available. Thus, I decided to build one. It turned out that building a docker image for ActiveMQ is quite simple. For example, here is the Dockerfile for ActiveMQ version 5.17.2 on JRE 19, alpine: Build … Read more
Overview If you have a travelling person who need to work with virtual server in VirtualBox, you’d probably have issues with setting IPs for your virtual machine. If you set IP for your virtual machines using the bridge network, the IP of your VMs will change every time you switch the network you connect to. … Read more
Overview By default, there isn’t a timestamp field in DAML contract. If you observe the return of a fetch query, there isn’t a field represents timestamp. This article will help you create timestamp for your contract so you can have field like this: The getTime function DAML has a convenient function called getTime that returns … Read more
Quick introduction to JUnit 5. Consider this as a cheat sheet to help you work with JUnit
Overview This tutorial shows you what equals and hashCode are and how to properly override them. If you have written in Java long enough, you will learn that using the equals method instead of == is the right way to assert equality. This is because the == operator compares the two objects’ memory addresses. The … Read more