SlideShare a Scribd company logo
4
Most read
5
Most read
11
Most read
RabbitMQ
- RabbitMQ is an open-source message broker software written in Erlang.
- It is commonly called message-oriented middleware that implements the
AMQP (Advanced Message Queuing Protocol).
- It is developed and maintained by Apache Software.
- RabbitMQ supports multiple messaging protocols.
- RabbitMQ follows FIFO Methods(first in first out).
- It is building distributed systems that communicate via asynchronous
messaging.
Features
1. High availability
2. Scalability
3. Reliability
4. Security for enterprise level
5. Performance
1.) What is use of RabbitMQ ?
- It is a message broker.
- It accepts and forwards messages.
- Many producers can send messages that go to one queue, and many
2.) Why we use RabbitMQ ?
- RabbitMQ is a messaging broker - an intermediary for messaging.
- It gives your applications a common platform to send and receive
AMQP protocol
Channel
●A connection is a TCP connection between your application and the RabbitMQ broker.
● A channel is a virtual connection inside a connection.
RabbitMQ.ppt
1.) Producer - Send the message (publisher).
2.) consumer - Receive messages.
3.) Queue - Store buffer message inside queue.
4.) Exchange - Producer never sends messages directly to queue.
- It always needs to go with exchange.
- exchange receives messages from producers on one side & forward them to
5.) Binding - Relation between exchange and queue is called binding.
1) Direct Exchange
2) Topic Exchange
3) Header Exchange
4) Fanout Exchange
Exchange Types : -
1. Direct Exchange
●send the message to the queue whose binding key matches.
●If the routing key matches, then the message is delivered to the corresponding queue.
●If the message routing key does not match any binding key, the message is discarded.
RabbitMQ.ppt
2. Topic Exchange
●send the message to the queue based on the pattern.
●messages sent to a topic exchange must have a specific routing key that must be
a list of words, delimited by dots.
●(example: ‘first.message.pass’).
●The wording is limited to 255 bytes.
1) * is use for one or more words (wildcard character)
2) # is use for zero or more words (wildcard character)
1) Routing key : student.*
Q1 : student.1
Q2 : student.2
Note :pass the message on both queues
2) Routing key :: first.message.fast
Q1 : *.message.*
Q2 : *.abc.fast
Q3 : *.*.fast
Routing Keys ::
K1 : quick.orange.fox
K2 : quick.orange.rabbit
K3 : lazy.orange.elephant
3. Header Exchange
●Routes messages to queues based on message header values instead of routing key.
●Header exchanges and topic exchange both are same but header exchange
●works with topic with his key and value.
● Routing key :: student.* {key:value}
●1) Q1 : student.A
●2) Q2 : student.B with {key:value}
●Note :: pass message on Q2 queue
4. Fanout Exchange
●Broadcasts the messages to all the queues.
●Any routing key provided with the published message will be ignored.

More Related Content

ODP
Introduction To RabbitMQ
PPTX
Rabbit MQ introduction
PPT
Artificial Intelligence
PPTX
TCP and UDP
PDF
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
PPTX
Json Web Token - JWT
PPTX
Big data diapositivas
PDF
Microservice Architecture
Introduction To RabbitMQ
Rabbit MQ introduction
Artificial Intelligence
TCP and UDP
Artificial Intelligence Machine Learning Deep Learning Ppt Powerpoint Present...
Json Web Token - JWT
Big data diapositivas
Microservice Architecture

What's hot (20)

PDF
Rabbitmq basics
PPTX
The RabbitMQ Message Broker
PPTX
RabbitMq
PPTX
What is RabbitMQ ?
PDF
Introduction to AMQP Messaging with RabbitMQ
PDF
PPTX
Message Broker System and RabbitMQ
PDF
[@NaukriEngineering] Messaging Queues
PPTX
RabbitMQ.pptx
PDF
Apache ActiveMQ
PPTX
19 08-22 introduction to activeMQ
PPTX
Rabbitmq & Kafka Presentation
PPTX
Enterprise Integration Patterns
PPTX
Microservice vs. Monolithic Architecture
PPTX
Introduction to Apache Camel
PDF
Introduction to Spring webflux
PDF
Kafka with IBM Event Streams - Technical Presentation
PPTX
Apache web service
PDF
Messaging Standards and Systems - AMQP & RabbitMQ
Rabbitmq basics
The RabbitMQ Message Broker
RabbitMq
What is RabbitMQ ?
Introduction to AMQP Messaging with RabbitMQ
Message Broker System and RabbitMQ
[@NaukriEngineering] Messaging Queues
RabbitMQ.pptx
Apache ActiveMQ
19 08-22 introduction to activeMQ
Rabbitmq & Kafka Presentation
Enterprise Integration Patterns
Microservice vs. Monolithic Architecture
Introduction to Apache Camel
Introduction to Spring webflux
Kafka with IBM Event Streams - Technical Presentation
Apache web service
Messaging Standards and Systems - AMQP & RabbitMQ
Ad

Similar to RabbitMQ.ppt (20)

PPTX
Rabbit mq
PPTX
RabbitMQ interview Questions and Answers
PPTX
Mule with rabbitmq
PPTX
Mule with rabbit mq
PPTX
Mule rabbitmq
PPTX
Mule with rabbit mq
PPTX
Mule with rabbit mq
PPTX
Mule with rabbit mq
PPTX
Mule with rabbitmq
PPTX
Rabbit mq in mule
PPTX
Mule with rabbit mq
PPTX
Rabbit Mq in Mule
PPTX
Mule with rabbit mq
PPTX
Mule rabbit mq
PPTX
RabbitMQ and AMQP with .net client library
PDF
MOM - Message Oriented Middleware
PPTX
Spring RabbitMQ
PDF
AMQP with RabbitMQ
PDF
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
PPTX
Introduction to Kafka and Event-Driven
Rabbit mq
RabbitMQ interview Questions and Answers
Mule with rabbitmq
Mule with rabbit mq
Mule rabbitmq
Mule with rabbit mq
Mule with rabbit mq
Mule with rabbit mq
Mule with rabbitmq
Rabbit mq in mule
Mule with rabbit mq
Rabbit Mq in Mule
Mule with rabbit mq
Mule rabbit mq
RabbitMQ and AMQP with .net client library
MOM - Message Oriented Middleware
Spring RabbitMQ
AMQP with RabbitMQ
An Introduction to the Message Queuing Technology & IBM WebSphere MQ
Introduction to Kafka and Event-Driven
Ad

Recently uploaded (20)

PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PDF
Microsoft Core Cloud Services powerpoint
PDF
Oracle OFSAA_ The Complete Guide to Transforming Financial Risk Management an...
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
PPTX
importance of Data-Visualization-in-Data-Science. for mba studnts
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Leprosy and NLEP programme community medicine
PDF
annual-report-2024-2025 original latest.
PPTX
Modelling in Business Intelligence , information system
PDF
Mega Projects Data Mega Projects Data
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPTX
A Complete Guide to Streamlining Business Processes
PPTX
modul_python (1).pptx for professional and student
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
SAP 2 completion done . PRESENTATION.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Microsoft Core Cloud Services powerpoint
Oracle OFSAA_ The Complete Guide to Transforming Financial Risk Management an...
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
importance of Data-Visualization-in-Data-Science. for mba studnts
Introduction-to-Cloud-ComputingFinal.pptx
Database Infoormation System (DBIS).pptx
Leprosy and NLEP programme community medicine
annual-report-2024-2025 original latest.
Modelling in Business Intelligence , information system
Mega Projects Data Mega Projects Data
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
A Complete Guide to Streamlining Business Processes
modul_python (1).pptx for professional and student
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
SAP 2 completion done . PRESENTATION.pptx

RabbitMQ.ppt

  • 1. RabbitMQ - RabbitMQ is an open-source message broker software written in Erlang. - It is commonly called message-oriented middleware that implements the AMQP (Advanced Message Queuing Protocol). - It is developed and maintained by Apache Software. - RabbitMQ supports multiple messaging protocols. - RabbitMQ follows FIFO Methods(first in first out). - It is building distributed systems that communicate via asynchronous messaging.
  • 2. Features 1. High availability 2. Scalability 3. Reliability 4. Security for enterprise level 5. Performance
  • 3. 1.) What is use of RabbitMQ ? - It is a message broker. - It accepts and forwards messages. - Many producers can send messages that go to one queue, and many 2.) Why we use RabbitMQ ? - RabbitMQ is a messaging broker - an intermediary for messaging. - It gives your applications a common platform to send and receive
  • 5. Channel ●A connection is a TCP connection between your application and the RabbitMQ broker. ● A channel is a virtual connection inside a connection.
  • 7. 1.) Producer - Send the message (publisher). 2.) consumer - Receive messages. 3.) Queue - Store buffer message inside queue. 4.) Exchange - Producer never sends messages directly to queue. - It always needs to go with exchange. - exchange receives messages from producers on one side & forward them to 5.) Binding - Relation between exchange and queue is called binding.
  • 8. 1) Direct Exchange 2) Topic Exchange 3) Header Exchange 4) Fanout Exchange Exchange Types : -
  • 9. 1. Direct Exchange ●send the message to the queue whose binding key matches. ●If the routing key matches, then the message is delivered to the corresponding queue. ●If the message routing key does not match any binding key, the message is discarded.
  • 11. 2. Topic Exchange ●send the message to the queue based on the pattern. ●messages sent to a topic exchange must have a specific routing key that must be a list of words, delimited by dots. ●(example: ‘first.message.pass’). ●The wording is limited to 255 bytes.
  • 12. 1) * is use for one or more words (wildcard character) 2) # is use for zero or more words (wildcard character) 1) Routing key : student.* Q1 : student.1 Q2 : student.2 Note :pass the message on both queues 2) Routing key :: first.message.fast Q1 : *.message.* Q2 : *.abc.fast Q3 : *.*.fast
  • 13. Routing Keys :: K1 : quick.orange.fox K2 : quick.orange.rabbit K3 : lazy.orange.elephant
  • 14. 3. Header Exchange ●Routes messages to queues based on message header values instead of routing key. ●Header exchanges and topic exchange both are same but header exchange ●works with topic with his key and value. ● Routing key :: student.* {key:value} ●1) Q1 : student.A ●2) Q2 : student.B with {key:value} ●Note :: pass message on Q2 queue
  • 15. 4. Fanout Exchange ●Broadcasts the messages to all the queues. ●Any routing key provided with the published message will be ignored.