Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Spring Boot 4 JMS Client - The Fluent API You've Been Waiting For

Dan Vega via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to implement the new JMS Client introduced in Spring Boot 4 through this hands-on tutorial that demonstrates building a complete order messaging system using Apache ActiveMQ Artemis and Docker Compose. Discover how the fluent API pattern, similar to RestClient and JdbcClient from Spring Boot 3.2, replaces JMSTemplate with clean, readable code that enhances the developer experience. Set up a Spring Boot 4 project with JMS and Artemis using Docker Compose, then master the new JMS Client's fluent API for sending messages while creating a custom message converter with Jackson 3's JSONMapper. Implement JMS Listeners to receive and process messages, configure Quality of Service settings including priority, TTL, and delivery delay, and access the Artemis web console to inspect queues. Build the Order model and messaging service, create REST controller endpoints, and test implementations using IntelliJ's HTTP client. Explore why JMS remains relevant in enterprise applications despite newer messaging technologies, and gain practical experience with priority messaging and QoS settings. The tutorial includes comprehensive coverage of Docker Compose setup, custom Jackson 3 message conversion, REST endpoint creation, and best practices for JMS implementation in modern Spring Boot applications.

Syllabus

0:00 - Introduction to JMS Client in Spring Boot 4
1:15 - Why JMS still matters in enterprise applications
2:30 - Creating a new Spring Boot 4 project
4:00 - Setting up Docker Compose for Artemis
6:15 - Building the Order model and messaging service
8:30 - Using the JMS Client fluent API
10:45 - Creating a custom Jackson 3 message converter
13:00 - Building the REST controller endpoint
15:20 - Testing with IntelliJ's HTTP client
17:00 - Viewing messages in the Artemis web console
18:30 - Implementing the JMS Listener
20:15 - Adding priority messages with QoS settings
22:30 - Wrap up and best practices

Taught by

Dan Vega

Reviews

Start your review of Spring Boot 4 JMS Client - The Fluent API You've Been Waiting For

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.