Articles

Two of the most popular message brokers used today are Kafka and those based around JMS. JMS is a long-standing Java API used generally for developing messaging applications, with its primary function of being able to send messages between two or more clients. Kafka, on the other hand, is a distributed streaming platform that provides a lot of scalabilities and is useful for real-time data processing. 

While both offer their own advantages and are highly useful in their own right, which of the two should you be actually using?

Source de l’article sur DZONE


Java Messaging Service

JMS or Java Messaging service is a solution for asynchronous communication using messages (objects). Initially, it was part of JSR (specification used in Java EE).

Simple Problem as Example to Explain: User Creation Service

Let’s assume we have any service that can process only 100 requests per second. Any higher load will freeze service or put it down.

Source de l’article sur DZONE

In the video below, we take a closer look at  Spring Boot JMSTemplate with Embedded ActiveMQ. Let’s get started!

Source de l’article sur DZONE

In the video below, we take a closer look at how to send or receive product objects to or from a queue using Spring, JMS, and RabbitMQ with annotations. So, let’s get started!

Check out the links below to download the code and PPT:

Source de l’article sur DZONE