SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
[10/14/2022]
[Mohali] MuleSoft Meetup
Anypoint MQ - Implementation Patterns
2
● Introductions
● Introduction to Message Queues
● Anypoint MQ
● Queue Creation
● Integration in Anypoint Studio
● Conclusion
Agenda
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
Introductions
● About the Speakers
Anirudh Singh Chouhan
Solution Consultant at Caelius
Consulting
4
Pranav Mihani
Associate Solution
Architect at Caelius
Consulting
● 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
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 .
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.
8
Examples of Queues
● IBM MQ
● JMS through ActiveMQ (Broker)
● AWS SQS
● Anypoint MQ
9
Anypoint MQ
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?
12
13
Environment Click on the plus button to
create a queue
● Create a Queue
● Create an exchange
● Create a FIFO Queue
Queue Creation Demo
Implementation with Anypoint
Studio
● Anypoint MQ connectors in Anypoint Studio.
● Demo on Queue Publish and Subscribe.
.
● Types of acknowledgements.
● Broadcasting implementation pattern using exchange.
● Message reliability implementation pattern using Dead Letter Queues.
.
● Circuit breaker functionality.
16
Trivia!
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
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
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
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
● 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?
Thank You

Contenu connexe

Similaire à MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdf

Similaire à MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdf (20)

SOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingSOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous Queuing
 
Mule soft meetup__adelaide_october_2020_final (2)
Mule soft meetup__adelaide_october_2020_final (2)Mule soft meetup__adelaide_october_2020_final (2)
Mule soft meetup__adelaide_october_2020_final (2)
 
MuleSoft London Community March 2022 - CloudHub Automation
MuleSoft London Community March 2022 - CloudHub AutomationMuleSoft London Community March 2022 - CloudHub Automation
MuleSoft London Community March 2022 - CloudHub Automation
 
Ledingkart Meetup #1: Monolithic to microservices in action
Ledingkart Meetup #1: Monolithic to microservices in actionLedingkart Meetup #1: Monolithic to microservices in action
Ledingkart Meetup #1: Monolithic to microservices in action
 
Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021
 
2024_March_ManilaMuleSoftMeetup_Presentation.pptx
2024_March_ManilaMuleSoftMeetup_Presentation.pptx2024_March_ManilaMuleSoftMeetup_Presentation.pptx
2024_March_ManilaMuleSoftMeetup_Presentation.pptx
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
 
Microservice architecture
Microservice architectureMicroservice architecture
Microservice architecture
 
The working architecture of NodeJS applications, Виктор Турский
The working architecture of NodeJS applications, Виктор ТурскийThe working architecture of NodeJS applications, Виктор Турский
The working architecture of NodeJS applications, Виктор Турский
 
The working architecture of node js applications open tech week javascript ...
The working architecture of node js applications   open tech week javascript ...The working architecture of node js applications   open tech week javascript ...
The working architecture of node js applications open tech week javascript ...
 
Cosenza_MuleSoft_Meetup_1st.pptx
Cosenza_MuleSoft_Meetup_1st.pptxCosenza_MuleSoft_Meetup_1st.pptx
Cosenza_MuleSoft_Meetup_1st.pptx
 
Breaking down a monolith
Breaking down a monolithBreaking down a monolith
Breaking down a monolith
 
Intoduction to lagom framework
Intoduction to lagom frameworkIntoduction to lagom framework
Intoduction to lagom framework
 
Mule soft meetups-24012020
Mule soft meetups-24012020Mule soft meetups-24012020
Mule soft meetups-24012020
 
Monolith to microservices journey
Monolith to microservices journeyMonolith to microservices journey
Monolith to microservices journey
 
MuleSoft Surat Meetup#44 - Anypoint Flex Gateway Custom Policies With Rust
MuleSoft Surat Meetup#44 - Anypoint Flex Gateway Custom Policies With RustMuleSoft Surat Meetup#44 - Anypoint Flex Gateway Custom Policies With Rust
MuleSoft Surat Meetup#44 - Anypoint Flex Gateway Custom Policies With Rust
 
Building APIs with Mule and Spring Boot
Building APIs with Mule and Spring BootBuilding APIs with Mule and Spring Boot
Building APIs with Mule and Spring Boot
 
Viktor Turskyi "Effective NodeJS Application Development"
Viktor Turskyi "Effective NodeJS Application Development"Viktor Turskyi "Effective NodeJS Application Development"
Viktor Turskyi "Effective NodeJS Application Development"
 
MuleSoft MuleSoft Meetup - Shared Flows
MuleSoft MuleSoft Meetup -  Shared FlowsMuleSoft MuleSoft Meetup -  Shared Flows
MuleSoft MuleSoft Meetup - Shared Flows
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdf

  • 1. [10/14/2022] [Mohali] MuleSoft Meetup Anypoint MQ - Implementation Patterns
  • 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.
  • 8. 8
  • 9. Examples of Queues ● IBM MQ ● JMS through ActiveMQ (Broker) ● AWS SQS ● Anypoint MQ 9
  • 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?
  • 12. 12
  • 13. 13 Environment Click on the plus button to create a queue ● Create a Queue ● Create an exchange ● Create a FIFO Queue
  • 16. ● Anypoint MQ connectors in Anypoint Studio. ● Demo on Queue Publish and Subscribe. . ● Types of acknowledgements. ● Broadcasting implementation pattern using exchange. ● Message reliability implementation pattern using Dead Letter Queues. . ● Circuit breaker functionality. 16
  • 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?