Learn how to implement messaging within your enterprise Spring applications using JMS.
Overview
Syllabus
Introduction
- Welcome
- What you should know
- Using the exercise files
- Understanding JMS 1.1 Spec
- JMS 1.1 versus Spring JMS API
- Spring JMS basic connection, part 1
- Spring JMS basic connection, part 2
- Understanding message queues and servers
- Configure ActiveMQ server
- Send messages to ActiveMQ
- View messages in ActiveMQ Web Console
- Read from ActiveMQ message queue
- Spring JMS message converters
- Project work for JMS message converter
- Example code using Spring JMS converter
- Demonstrate app with changes
- Message converter for XML messages
- Create custom message listener with Spring
- Register custom message listener with Spring
- Connection configuration practices with application properties
- Connection configuration using SingleConnectionFactory
- Connection configuration using CachedConnectionFactory
- Transaction management with Spring JMS (transactions)
- Transaction management with dead letter queue
- JMS headers and ways to use them
- JMS headers and response management
- Response management using @sendTo('destination')
- Response management using MessageBuilder sending JMS headers
- Response management using JmsResponse
- Next steps
Taught by
Michael D. Rodgers, Jr