2. 2
● Introductions
● Introduction to Message Queues
● Anypoint MQ
● Queue Creation
● Integration in Anypoint Studio
● Conclusion
Agenda
3. Introductions
● About the Organizers
3
Anil Bawne
Associate Solution
Architect
Caelius Consulting
Lavina Ambani
VP Customer
Success
Caelius Consulting
Damini Dhiman
Manager - Training
& Enablement
Caelius Consulting
4. Introductions
● About the Speakers
Anirudh Singh Chouhan
Solution Consultant at Caelius
Consulting
4
Pranav Mihani
Associate Solution
Architect at Caelius
Consulting
5. ● Both the Speaker and Hosts are organizing this meetup at individual capacity.
We are not representing our Organisations here.
● This presentation is strictly for learning purpose only.
● We do not hold any responsibility that same solution will work for your business use
case also.
● This Presentation is not meant for any promotional activities.
5
Safe Harbor Statement
6. 6
Problem Statement
●
● In modern cloud architecture,applications are decoupled into
smaller,independent building blocks that are easier to develop,deploy and
maintain.
● Message queues provide communication and coordination for these distributed
applications in a reliable and secure manner.
● Thats where Anypoint MQ comes into the picture .
7. Introduction to Message Queues
7
Message - A message refers to any data that is transferred between two applications.
Queues - A message queue is a form of asynchronous service-to-service communication used in
microservices architectures. Messages are stored on the queue until they are processed and
deleted. Each message is processed only once, by a single consumer. Message queues can be
used to decouple heavyweight processing, to buffer or batch work, and to smooth spiky
workloads.
11. 11
● Anypoint MQ is an enterprise, multi tenant, cloud messaging services which is fully integrated with
Anypoint Platform offering role-based access control, client app management and connectors.
● The Anypoint MQ messaging broker enables applications to communicate by publishing a mule
message to a queue so that another app can consume the message.
What is Anypoint MQ?
18. Trivia
Que. If the API fails in between then what would happen to the message
if there is a queue and DL queue is defined for 5 fails?
* Message will be re-queued
* Message will be in-flight
* Message will be sent to DL queue
* Message will be deleted from the queue
18
19. Trivia
Que. Which acknowledgement mode would send the
acknowledgement after the successful completion of flow after
consuming a message from queue?
* Immediate
* Automatic
* Manual
* Nack
19
20. Trivia
Que. What happens to the flow if there is a circuit breaker defined
with an error threshold of 3 and trip time out of 10 seconds and an
error occurs?
* Execute for 3 times then stop.
* Execute for 3 times then wait for 10 seconds then try again.
* Execute 3 times wait 10 secs, If sending success, start processing.
* Execute for 3 times, stop execution, queue the message to DL
queue.
20
21. Trivia
Answers:-
1 - Message will be sent to DL queue
2 - Automatic
3 - Execute 3 times wait 10 secs, If sending success, start processing.
21
22. ● Share:
○ Share using the hashtag #MuleSoftMeetups
○ https://meetups.mulesoft.com/mohali/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
What’s Next?