SlideShare a Scribd company logo
RabbitMQ
RabbitMQ is well known and popular message broker and it has many powerful features. It is
open source message broker software and is written in the Erlang programming language and is
built on the Open Telecom Platform framework for clustering and failover
Features :-
• Robust messaging for applications
• Easy to use
• Runs on all major operating systems
• Supports a huge number of developer platforms
• Open source and commercially supported
Source :- RabbitMQ website
RabbitMQ works on a concept called Exchanges
Exchanges :- An exchange accepts messages from a producer application and routes them to
message queues. They can be thought of as the "mailboxes" of the AMQP world. Unlike some
other messaging middleware products and protocols, in AMQP, messages are not published
directly to queues. Messages are published to exchanges that route them to queue(s) using pre-
arranged criteria called bindings.
Source :- http://rubybunny.info/articles/exchanges.html
Exchange attributes :-
Exchanges have several attributes associated with them:
• Name
• Type (direct, fanout, topic, headers or some custom type)
• Durability
• Whether the exchange is auto-deleted when no longer used
• Other metadata (sometimes known as X-arguments)
Source :- http://rubybunny.info/articles/exchanges.html
Exchange types
There are four built-in exchange types in AMQP :
• Direct :- The exchange does a direct match between the routing key provided in the message
and the routing criteria used when a queue is bound to this exchange.
• Fanout:- Queues are bound to this exchange with no arguments. Hence any message sent to
this exchange will be forwarded to all queues bound to this exchange.
• Topic:- The exchange does a wildcard match between the routing key and the routing pattern
specified in the binding. The routing key is treated as zero or more words, delimited by ‘.’ and
supports special wildcard characters. “*” matches a single word and ‘#’ matches zero or more
words.
• Headers:- Queues are bound to this exchange with a table of arguments containing headers
and values (optional). A special argument named “x-match” determines the matching
algorithm, where “all” implies an AND (all pairs must match) and “any” implies OR (at least
one pair must match).
Source :- http://rajith.2rlabs.com/2007/10/13/amqp-in-10-mins-part4-standard-exchange-types-and-
supporting-common-messaging-use-cases/
Mule connects with RabbitMq with AMQP connector available in Mule
Let’s consider there are 2 flows to send and receive message to and from RabbitMQ queue
using direct exchange
Our Mule Config will be :-
As you can see there are 2 flows , the first will send the message to the queue called new using Direct
Exchange and the receiver flow will receive the message from queue using the same Direct Exchange
To test the application, if we hit the url http://localhost:1080/orders4 , like the following :-
You will get the following into in the log:-
You can see the first flow send the message into the queue new, and the second flow receive the
message from the queue new. Both the flows have used the Direct Exchange technique
In my next slide I will bring some other techniques in Mule implementation .
Hope you have enjoyed this simpler version.
Keep sharing your knowledge and let our Mule community grow 
Rabbit mq in mule

More Related Content

PPT
Mulesoft ppt
PPTX
Mule rabbit mq
PPTX
Rabbit Mq in Mule
PPTX
Mule soa
PPTX
Mule rabbitmq
PPT
Mule overview
 
PPTX
Connectors in mule
PPTX
Anypoint mq queues and exchanges
Mulesoft ppt
Mule rabbit mq
Rabbit Mq in Mule
Mule soa
Mule rabbitmq
Mule overview
 
Connectors in mule
Anypoint mq queues and exchanges

What's hot (16)

PPT
Overview of Mule
PPTX
Mule concepts components
PPTX
Mule esb basic introduction
PPTX
Mule soa
PPT
Overview of Mule
PPTX
Mule TCP Component
PDF
Mule esb and_relevant_components
PPTX
Mule high availability
PPT
Mule overview
PPT
Mule ESB
PPTX
Introduction to mule esb
PPTX
Core concepts in mule
PPTX
Mule esb
PPTX
Core concepts - mule
PPTX
PPTX
Muletransformers
Overview of Mule
Mule concepts components
Mule esb basic introduction
Mule soa
Overview of Mule
Mule TCP Component
Mule esb and_relevant_components
Mule high availability
Mule overview
Mule ESB
Introduction to mule esb
Core concepts in mule
Mule esb
Core concepts - mule
Muletransformers
Ad

Viewers also liked (19)

ODP
Relacja z programu Erasmus+ SP 12 Katowice
PPT
Mule technologies
PPT
Mule b2 b
PPTX
Introduction to mule esb
PPTX
IAIDQ Presidency Position Paper - Daragh O Brien Dec 2013
PPTX
CloudHub in Mulesoft
PPTX
Oozie at Yahoo
PDF
Voxxed Days Thesaloniki 2016 - Herding cats to a firefight
PPTX
Advanced Analytics for Salesforce
PDF
How to Use Feedback Surveys to Improve Customer Retention
PPTX
Windows service
PPTX
SDLC. UX Role
PPTX
Advanced styles
PPTX
SDLC. BA Role
PDF
Flora delivery школа молодого миллиардера rus
PDF
Lean analytics from Web A Quebec mars 2014
PDF
Building a Company-Wide Growth Culture: SaaStr Annual 2016
PDF
Setting and Achieving Growth Goals
PPT
Data quality architecture
Relacja z programu Erasmus+ SP 12 Katowice
Mule technologies
Mule b2 b
Introduction to mule esb
IAIDQ Presidency Position Paper - Daragh O Brien Dec 2013
CloudHub in Mulesoft
Oozie at Yahoo
Voxxed Days Thesaloniki 2016 - Herding cats to a firefight
Advanced Analytics for Salesforce
How to Use Feedback Surveys to Improve Customer Retention
Windows service
SDLC. UX Role
Advanced styles
SDLC. BA Role
Flora delivery школа молодого миллиардера rus
Lean analytics from Web A Quebec mars 2014
Building a Company-Wide Growth Culture: SaaStr Annual 2016
Setting and Achieving Growth Goals
Data quality architecture
Ad

Similar to Rabbit mq in mule (20)

PPTX
Mule with rabbitmq
PPTX
Mule with rabbit mq
PPTX
Mule with rabbit mq
PPTX
Mule with rabbitmq
PPTX
Mule with rabbit mq
PPTX
Mule with rabbit mq
PPTX
Mule with rabbit mq
PPTX
Mule with rabbit mq
PPTX
Spring RabbitMQ
PPTX
Rabbit MQ
PPTX
RabbitMQ and AMQP with .net client library
ODP
Introduction To RabbitMQ
PDF
AMQP with RabbitMQ
PPTX
The RabbitMQ Message Broker
PDF
Messaging Standards and Systems - AMQP & RabbitMQ
PPTX
Spring RabbitMQ
PDF
Messaging with amqp and rabbitmq
PDF
Messaging Standards and Systems - AMQP & RabbitMQ
PDF
Enterprise Messaging with RabbitMQ.pdf
PPT
RabbitMQ.ppt
Mule with rabbitmq
Mule with rabbit mq
Mule with rabbit mq
Mule with rabbitmq
Mule with rabbit mq
Mule with rabbit mq
Mule with rabbit mq
Mule with rabbit mq
Spring RabbitMQ
Rabbit MQ
RabbitMQ and AMQP with .net client library
Introduction To RabbitMQ
AMQP with RabbitMQ
The RabbitMQ Message Broker
Messaging Standards and Systems - AMQP & RabbitMQ
Spring RabbitMQ
Messaging with amqp and rabbitmq
Messaging Standards and Systems - AMQP & RabbitMQ
Enterprise Messaging with RabbitMQ.pdf
RabbitMQ.ppt

More from himajareddys (20)

ODP
Domain in mule
ODP
Exception handling basics in mule
ODP
Mule integration patterns
ODP
Design considerations in MULE ESB
ODP
Mule esb flow processing strategies
ODP
Mule architecture styles
ODP
Integration patterns in muleesb
ODP
Security components in mule esb
PPT
Cloudhub
PPT
Anypoint platform highlights
PPT
Mule 3.4 features
PPT
Mule esb 3.8
PPT
Mule soa
PPT
Anypoint connectorfor ibm as 400
PPT
Mule addcontactsintosalesforce
PPT
Mule anypointconnector dev kit
PPT
Dataweavewithflowreflookup
PPT
Mule anypointenterprisesecurity
PPT
Connector for ibm® as400
PPT
Netsuite open air connector
Domain in mule
Exception handling basics in mule
Mule integration patterns
Design considerations in MULE ESB
Mule esb flow processing strategies
Mule architecture styles
Integration patterns in muleesb
Security components in mule esb
Cloudhub
Anypoint platform highlights
Mule 3.4 features
Mule esb 3.8
Mule soa
Anypoint connectorfor ibm as 400
Mule addcontactsintosalesforce
Mule anypointconnector dev kit
Dataweavewithflowreflookup
Mule anypointenterprisesecurity
Connector for ibm® as400
Netsuite open air connector

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Modernizing your data center with Dell and AMD
PDF
Encapsulation theory and applications.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Cloud computing and distributed systems.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
Digital-Transformation-Roadmap-for-Companies.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Big Data Technologies - Introduction.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Mobile App Security Testing_ A Comprehensive Guide.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Unlocking AI with Model Context Protocol (MCP)
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation_ Review paper, used for researhc scholars
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Modernizing your data center with Dell and AMD
Encapsulation theory and applications.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Cloud computing and distributed systems.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
cuic standard and advanced reporting.pdf

Rabbit mq in mule

  • 2. RabbitMQ is well known and popular message broker and it has many powerful features. It is open source message broker software and is written in the Erlang programming language and is built on the Open Telecom Platform framework for clustering and failover
  • 3. Features :- • Robust messaging for applications • Easy to use • Runs on all major operating systems • Supports a huge number of developer platforms • Open source and commercially supported Source :- RabbitMQ website
  • 4. RabbitMQ works on a concept called Exchanges Exchanges :- An exchange accepts messages from a producer application and routes them to message queues. They can be thought of as the "mailboxes" of the AMQP world. Unlike some other messaging middleware products and protocols, in AMQP, messages are not published directly to queues. Messages are published to exchanges that route them to queue(s) using pre- arranged criteria called bindings. Source :- http://rubybunny.info/articles/exchanges.html
  • 5. Exchange attributes :- Exchanges have several attributes associated with them: • Name • Type (direct, fanout, topic, headers or some custom type) • Durability • Whether the exchange is auto-deleted when no longer used • Other metadata (sometimes known as X-arguments) Source :- http://rubybunny.info/articles/exchanges.html
  • 6. Exchange types There are four built-in exchange types in AMQP : • Direct :- The exchange does a direct match between the routing key provided in the message and the routing criteria used when a queue is bound to this exchange. • Fanout:- Queues are bound to this exchange with no arguments. Hence any message sent to this exchange will be forwarded to all queues bound to this exchange. • Topic:- The exchange does a wildcard match between the routing key and the routing pattern specified in the binding. The routing key is treated as zero or more words, delimited by ‘.’ and supports special wildcard characters. “*” matches a single word and ‘#’ matches zero or more words. • Headers:- Queues are bound to this exchange with a table of arguments containing headers and values (optional). A special argument named “x-match” determines the matching algorithm, where “all” implies an AND (all pairs must match) and “any” implies OR (at least one pair must match). Source :- http://rajith.2rlabs.com/2007/10/13/amqp-in-10-mins-part4-standard-exchange-types-and- supporting-common-messaging-use-cases/
  • 7. Mule connects with RabbitMq with AMQP connector available in Mule
  • 8. Let’s consider there are 2 flows to send and receive message to and from RabbitMQ queue using direct exchange
  • 9. Our Mule Config will be :- As you can see there are 2 flows , the first will send the message to the queue called new using Direct Exchange and the receiver flow will receive the message from queue using the same Direct Exchange
  • 10. To test the application, if we hit the url http://localhost:1080/orders4 , like the following :-
  • 11. You will get the following into in the log:- You can see the first flow send the message into the queue new, and the second flow receive the message from the queue new. Both the flows have used the Direct Exchange technique
  • 12. In my next slide I will bring some other techniques in Mule implementation . Hope you have enjoyed this simpler version. Keep sharing your knowledge and let our Mule community grow 