
Explore RabbitMQ messaging with Java, Spring Boot, and Spring MVC; install RabbitMQ, create queues, study exchange types, and publish and consume messages with Java and Rabbit Template and Rabbit Listener.
Understand Java Messaging Service (JMS) and how a RabbitMQ broker uses exchanges and queues to route messages from producers to consumers.
Understand how RabbitMQ uses an exchange to route messages to queues, with producers and consumers, and learn why direct, fan out, headers, and topic exchanges enable conditional routing.
Explore the four exchange types—direct, fan out, topic, and headers—and learn how each routes messages to queues via binding, helping you pick the right exchange for your application.
Install rabbitmq on windows by installing Erlang OTP, downloading rabbitmq, configuring erlang_home environment variable, updating path, enabling rabbitmq management plugin, and starting server to access localhost:15672 with guest credentials.
Learn to create a queue in RabbitMQ using the management console; publish messages directly to the queue and consume them without an exchange, illustrated with a queue named queue one.
Publish a message to the RabbitMQ queue Q1 using the Java client by configuring a connection factory, opening a channel, and invoking basicPublish with an empty exchange.
Create a Java RabbitMQ consumer for queue one, use a deliver callback to receive messages, convert the body to string, and acknowledge delivery while the consumer runs continuously.
RabbitMQ distributes messages to multiple consumers in a round-robin fashion, demonstrated with two consumers and four messages in a publisher and consumer scenario.
Learn how to purge ready messages from a RabbitMQ queue using the UI or the command line, ensuring no ready messages remain in the queue.
Publish a json message to the queue with filter parameters and user email to offload heavy Excel exports, then consume it to generate and email the file.
Publish a JSON message to a RabbitMQ queue from a Java Spring Boot app, building a JSON object with from date, to date, email, and SQL query, and send it.
Demonstrate how a direct exchange routes messages to the mobile, tv, or ac queues by binding each queue with a key and matching the message key to that binding.
Create a direct exchange, add queues such as mobile and tv, and bind them with routing keys to route messages through the exchange.
Publish messages to a direct exchange using a routing key to route to the mobile queue. Compare correct and incorrect routing keys and show how binding affects delivery.
This lecture demonstrates building a consumer to receive messages from three RabbitMQ queues (mobile, tv, ac) using the same code, changing only the queue name, via a direct exchange.
Explore how the fanout exchange in RabbitMQ broadcasts every published message to all queues bound to it, enabling a publish-subscribe pattern without routing keys.
Create a fanout exchange and bind the mobile and AC queues to it while leaving the TV queue unbound, demonstrating how a fanout exchange broadcasts to bound queues only.
Publish a message to a fanout exchange using a Java publisher, with an empty routing key, and observe mobile and easy queues receive it, while TV remains unbound.
Learn how topic exchange routes messages in RabbitMQ by matching dot-separated routing keys with binding keys, using star for exactly one word and hash for multiple words.
Create a topic exchange in the RabbitMQ management console, bind queues with routing keys such as *.mobile.*, *.tv.*, and has.ec for mobile, tv, and ac queues.
Publish a message to a topic exchange in RabbitMQ using Java, create a topic publisher, publish with a routing key, and inspect queue bindings to match mobile and tv patterns.
Explains how a headers exchange routes messages using header key-value pairs instead of routing keys, with x-match any and x-match all options to bind queues.
Create a headers exchange and bind queues using header arguments—set x-match to any or all and define item one and item two values for each queue.
Publish a message to a headers exchange with an empty routing key and a headers map, then see delivery based on x-match any or all.
Publish and consume messages between a Spring Boot app and RabbitMQ using RabbitTemplate and RabbitListener. Configure a basic Spring Boot application to expose a rest api for messaging.
Configure a spring boot app to use rabbit template with rabbitmq by adding spring rabbit and spring boot starter web dependencies and setting host and port in application.properties.
Publish messages to RabbitMQ from a Spring Boot app using RabbitTemplate by sending a serializable person object to the mobile queue via a REST API.
Implement a rabbit listener in a Spring Boot app to consume messages from the mobile queue, convert byte arrays to a person object, and print the name.
Publish a person object as a byte array to the headers exchange with two headers and no routing key, routing to mobile and television queues.
Consume messages on the mobile queue with a Spring Boot rabbit listener routed by a headers exchange, deserialize byte arrays to a person object using java.io, and print the name.
Learn to publish and consume messages with RabbitMQ in a Spring MVC app using RabbitTemplate, with Spring framework prerequisites and setup for a RabbitMQ listener.
Configure a Spring MVC application to publish messages to a queue using RabbitTemplate, by adding Spring Rabbit and defining a RabbitMQ config with a connection factory and RabbitTemplate beans.
Publish messages from a Spring MVC app to RabbitMQ using RabbitTemplate. Build a serializable person object and send to the mobile queue, covering direct, fanout, and topic exchanges.
Configure Spring MVC rabbit listener by adding a simple rabbit listener container factory bean, enabling rabbit, and a connection factory, then use @RabbitListener on a consumer for the mobile queue.
Publish a message to headers exchange from a Spring MVC app using RabbitTemplate, converting a person object to bytes and setting headers to route to mobile and television queues.
learn to build a rabbit listener with spring mvc for a headers exchange, converting byte arrays to java objects using java io, and consuming messages from the mobile queue.
***** Some Reviews From Students *****
Learned everything I needed to about RabbitMQ is this course. EXCELLENT!
Good course on rabbitmq. have learned a lot. specially rabbitmq with pivotal cloud foundry is very much interesting.
It covers technical details about RabbitMQ and how to use them from Java, that's what I was looking for.
Good explanation in simple terms.
Excellent course on RabbitMQ. Have learned in deep about exchange, queue and best part is that it covers all with Spring boot and Spring MVC. Finally learned how to use RabbitMQ on cloud using Pivotal Cloud Foundry.
Real life example given to relate with different component is really helpful.
RabbitMQ : It is an open source message broker software. You might have heard Java Messaging Service (JMS) by which two Java applications can communicate with each other.
Using RabbitMQ message broker two Java applications can interact with each other in same way as we human being do by text message.
Message can not go directly from one Java app to other and hence we need Queue and Exchange.
Do not aware of RabbitMQ ,Queue, Exchange OR JMS ? If YES, then you came to right place as you will learn all these things in this course. You can say Its all in one for you.
This course is all about RabbitMQ starting with Core Java and then using RabbitMQ with Spring Boot and Spring MVC.
At the end you will learn to deploy your RabbitMQ Spring MVC and Spring Boot application to Pivotal Cloud Foundry (PCF).
Let me give you an idea that what you will learn from this course.
You will learn concept of Java Messaging Service (JMS) & RabbitMQ Message Broker.
You will learn how to publish and consume messages using core Java.
You will learn different types of exchanges like Direct, Fanout, Topic and Headers Exchange.
You will learn to use RabbitMQ in Spring Boot application using Rabbit Template and Rabbit Listener.
You will learn to use RabbitMQ in Spring MVC application using Rabbit Template and Rabbit Listener.
Spring Boot, Spring Cloud and Spring MVC Applications Deployment To Pivotal Cloud Foundry.
Spring Boot and RabbitMQ Deployment To Heroku (Cloud Platform)
Course Topics & Lectures :-
• Introduction to JMS and RabbitMQ
Understanding Of Java Messaging Service (JMS)
What is Exchange and Queue ?
Different Types Of Exchanges
RabbitMQ Installation
• Getting Started With RabbitMQ
Create Queue in RabbitMQ
Publishing Message To Queue
Consuming Message From Queue
Multiple Consumers Scenario & Round Robin Fashion
Purge The Messages
• Real Time Example With JSON Message
Understanding Real Time Scenario To Use RabbitMQ
Publishing JSON Message To Queue
• Direct Exchange
What is Direct Exchange ?
Creating Direct Exchange & Binding Queues with it
Publishing Message To Direct Exchange
Consuming Message From Queue
• Fanout Exchange
What is Fanout Exchange ?
Creating Fanout Exchange & Binding Queues with it
Publishing Message To Fanout Exchange
• Topic Exchange
What is Topic Exchange ?
Creating Topic Exchange & Binding Queues with it
Publishing Message To Topic Exchange
• Headers Exchange
What is Headers Exchange ?
Creating Headers Exchange & Binding Queues with it
Publishing Message To Headers Exchange
• RabbitMQ With Spring Boot
Introduction To RabbitMQ With Spring Boot & Rabbit Template
Spring Boot Project Set Up & Configuration
Rabbit Template With Spring Boot
Rabbit Listener With Spring Boot
Publishing Message To Headers Exchange Using Rabbit Template
Rabbit Listener With Spring Boot & Headers Exchange
• RabbitMQ With Spring MVC
Introduction To RabbitMQ With Spring MVC & Rabbit Template
Spring MVC Project Set Up & Configuration
Rabbit Template With Spring MVC
Rabbit Listener With Spring MVC
Publishing Message To Headers Exchange Using Rabbit Template
Rabbit Listener With Spring MVC & Headers Exchange
• RabbitMQ On Cloud
Introduction To Pivotal Cloud Foundry (PCF)
Creating Account On Pivotal Cloud Foundry (PCF)
Creating RabbitMQ Service On Pivotal Cloud Foundry (PCF)
Spring Boot Deployment To Pivotal Cloud Foundry (PCF)
Spring Boot Deployment To PCF Using Spring Cloud
Spring MVC Deployment To Pivotal Cloud Foundry (PCF)
• Default Exchange
What Is Default Exchange ?
Default Exchange Example
• Exchange To Exchange Binding
Introduction To Exchange To Exchange Binding
Bind Exchange with Another Exchange
Exchange To Exchange Binding In Action
• RabbitMQ On Heroku (Cloud Platform)
Introduction To Heroku
Create Account On Heroku
Verify Account On Heroku
Download and Install Git
Download & Install Heroku CLI
Create Heroku Application
Getting RabbitMQ on Heroku
Heroku CLI Login
Deploy Spring Boot App On Heroku
Now what are you waiting for ?
Grab the course quickly and get started to learn RabbitMQ message broker with Java. Spring MVC, Spring Boot, Spring Cloud and deploy your RabbitMQ Spring MVC and Spring Boot application to Pivotal Cloud Foundry (PCF).
See you in the course.