SlideShare a Scribd company logo
1 of 26
5th March 2022
Hyderabad MuleSoft Meetup Group
All About Anypoint MQ
2
● Introductions
● Anypoint MQ Presentation
● Demo
● Trivia Quiz
● Networking time (We can extend our time if you are interested to chat ! )
Agenda
3
● Santhosh Thondiraj ( https://www.linkedin.com/in/achieve-santhosh/ ) , Senior Software
Engineer at Apisero from Tamilnadu, India.
● 1.5 years of Experience in MuleSoft , MuleSoft Certified Developer
● Worked on migration projects from On-Premise into Cloudhub by implementing VPC & VPN.
● Passionate on Organizing/Participating in Marathoner events such as Half/10K runs .
● An Air Rifle/Pistol Shooter.
About The Speaker
4
Sravan Lingam – Hyderabad India
● Senior Integration Developer and Architect at Billennium ,Poland
● MuleSoft Ambassador , MuleSoft Meetup Leader Hyderabad
● Technical Writer/Speaker/Trainer
● Owner of MuleSoft TechZone - YouTube, LinkedIn,FaceBook, Instagram and Twitter
● http://www.sravanlingam.com
● https://www.linkedin.com/in/sravanlingam/
About the Organizer
A SHOW OF HANDS:
Who is new to this Meetup?
5
● training.mulesoft.com
● help.mulesoft.com
● Exam readiness sessions (only IST zone) .
● Great Events are on Its way : PKO (https://events.mulesoft.com/pko/home), TDX
(https://www.salesforce.com/trailblazerdx/)
● Become a Speaker/Leader/Mentor.
● About Trivia Quiz – common questions
● Questions on Vouchers, Session recordings etc.
● Provide us the Feedback
About the MuleSoft Community
{ An Enterprise Subscription Feature, specially to handle Queue based Scenarios }
All About Anypoint MQ
7
❖ Queue
❖ Anypoint MQ
❖ Types of Queue
❖ Creating/Deleting/Modifying Queues
❖ Creating/Deleting Client Apps
❖ Publishing/Sending/Deleting Messages
❖ Subscribing/Consuming Messages
❖ Acknowledging Queues
❖ Dead Letter Queue
← ← ← ← ← Let’s Explore Anypoint MQ → → → → →
Queue :
A queue is a temporary storage area used for inter-app communication, to transfer the message
from one API/service to another.
Anypoint MQ :
● It is a cloud messaging service that performs asynchronous messaging scenarios between applications
● It Supports large payloads (upto - 10 MB).
● It Enables easy connection to non-Mule applications using the REST API.
● It Provides a special feature called Dead-Letter Queue (DLQ)
8
Major Limitations of Anypoint MQ (on High-Level) :
● Anypoint MQ is :
● Exclusive for Enterprise Subscription and not for Trial Accounts.
● Is only available for the Cloudhub-hosted application; it is not available for the APIs hosted
on on-premise servers.
● Is Region and Environment specific.
● Two or more instances cannot retrieve the same Messages at the same time, one should wait
until the previous instance releases the Messages.
● Sometimes we cannot expect Quick reflection in Anypoint MQ User Interface, it may delay
some time to reflect the changes,
9
Regions where Anypoint MQ Available :
Anypoint MQ standard and FIFO queues are available in these regions:
10
Control Plane Location Region
US North America Northern Virginia (us-east-1)
Oregon (us-west-2)
Central Canada (ca-central-1)
EU Europe Ireland (eu-west-1)
London (eu-west-2)
AP APAC Singapore (ap-southeast-1)
Sydney (ap-southeast-2)
Tokyo (ap-northeast-1)
Types of Queue and Uses
Types of Queue :
1. Queue ( Standard Queue )
2. FIFO Queue ( First In First Out )
Broadcaster/Queue :
1. Exchange :
12
1. Queue ( Standard Queue ) :
● Storage area where messages where an application/service can send and receive messages to a
queue in an unordered manner.
● We can store an unlimited number of messages in a Queue.
● From API, we can pick maximum 1,20,000 messages at a time, but processing of those
messages will happen one by one randomly.
● From UI, we can view maximum 50 messages at a time.
13
2. FIFO Queue ( First In First Out ) :
● It is as same as a standard queue, but here ordering of messages is maintained
● We can store an unlimited number of messages in a FIFO Queue.
● To ensure the ordering of messages it is restricted to pick 10 messages per processing state from both
API as well as from UI.
3. Exchange :
● Used to Broadcasting messages to a Queue.
● We can create an Exchange and bind other queues into an Exchange, so that whenever messages get
Published/Send to an Exchange, those messages will get Broadcast/Forwarded to all Queues associated
with the Exchange.
● Example : Broadcast feature in WhatsApp
14
Things to know before :
❖ We can create N number (Unlimited) Queues.
❖ Every Queue has 2 stages :
➢ In-Queue :
 Which holds all the messages got Created/Published into a Queue
 Ready for processing whenever needed.
➢ In-Flight :
 Once subscriber/consumer start consuming the Queue, the messages will move from In-Queue
State → In-Flight state.
 Under Processing.
 Messages under In-Flight are Locked, those messages cannot be fetch by some other
subscribers/consumers.
❖ Queues and Messages cannot be shared between Regions and Environments.
15
Configuration Where and all needed :
To Create, Configure, Implement, and Use → the Anypoint MQ, we need to work on both :
1. Anypoint Platform :
● Create/Delete Queues
● Send/Delete Messages of Queues
● View Messages of Queues.
● Modifying Queues
● Create/Delete Client Apps
1. Anypoint Studio (Application) :
● Publish Messages into Queues
● Consume/Subscribe Messages of Queues
● Acknowledge the Messages of Queues.
16
Demo
Actions on Anypoint Platform
Anypoint MQ Connectors:
By default Anypoint MQ connectors are not available in the Studio, we need to add the dependencies
from Exchange.
There are 5 Anypoint MQ Connectors/Operations
are available :
1. Publish
2. Subscribe
3. Consume
4. Ack
5. Nack
18
1.Publish :
● To Publish/Send the Messages to the Queue which is already available/created in the Anypoint MQ.
● It’s a Processor
2.Subscribe :
● Subscribe the Queue and listen to the new Messages, and picks it.
● Whenever Queue receives any new Messages, Subscriber will automatically start trigger, and fetches
the Messages
● It’s a Source
3.Consume :
● Used to Consume Messages from the Assigned Queue.
● We can use Consume to consume the Messages anywhere in the Flow execution
● It’s a Processor 19
4. ACK :
● ACK → Positive Acknowledgement
● If we want to Manually send a Positive Acknowledgement to the Queue about the successful
consumption of the message, we can use the ACK connector
● It’s a Processor
● Messages will be deleted from the Queue
5. NACK :
● NACK → Negative Acknowledgement
● If we want to Manually send a Negative Acknowledgement to the Queue, stating that the consumed
message is not processed successfully
● It’s a Processor
● Messages won’t be deleted from the Queue
20
Demo
Actions on Application (Anypoint Studio)
Dead Letter Queue (DLQ) :
● DLQ is same as a Queue creation
● A special feature to keep a Track of Unprocessed Messages
● In some cases, Messages will keep-on failing during process, in that case we can reroute those
messages to DLQ by assigning it to a particular Queue . This helps us to find unprocessed
messages
● A dead letter queue is associated with one or more queues
Things to remember before creating Dead Letter Queue (DLQ) :
The DLQ and parent queue both need to be:
1. Same type of queue (standard or FIFO)
2. Created in the same geographical region
3. Created in the same environment and owned by the same Anypoint Platform account
22
Demo
Dead Letter Queue
Introduce yourself to your neighbor
Networking time
● New to community?
● Queries regarding Vouchers
● Trivia Quiz!
25
Thank you

More Related Content

Similar to Hyderabad mule meetup_march_2022

MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ
MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQMuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ
MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQJitendra Bafna
 
MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdf
MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdfMuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdf
MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdfLavinaDesaiAmbani
 
#4 Mulesoft Virtual Meetup Kolkata December 2020
#4 Mulesoft Virtual Meetup Kolkata December 2020#4 Mulesoft Virtual Meetup Kolkata December 2020
#4 Mulesoft Virtual Meetup Kolkata December 2020Roikka Hazarika
 
SOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingSOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingWSO2
 
Montreal MuleSoft_Meetup_16-Aug.pptx
Montreal MuleSoft_Meetup_16-Aug.pptxMontreal MuleSoft_Meetup_16-Aug.pptx
Montreal MuleSoft_Meetup_16-Aug.pptxshubhamkalsi2
 
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...Manish Kumar Yadav
 
Microservice Workshop Hands On
Microservice Workshop Hands On Microservice Workshop Hands On
Microservice Workshop Hands On Ram G Suri
 
Introduction to Akka Serverless
Introduction to Akka ServerlessIntroduction to Akka Serverless
Introduction to Akka ServerlessKnoldus Inc.
 
Messaging-as-a-Service Rivieradev 2017
Messaging-as-a-Service Rivieradev 2017Messaging-as-a-Service Rivieradev 2017
Messaging-as-a-Service Rivieradev 2017Ulf Lilleengen
 
Docker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platformsDocker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platformsFederico Michele Facca
 
Inter process communication by Dr.C.R.Dhivyaa, Assistant Professor,Kongu Engi...
Inter process communication by Dr.C.R.Dhivyaa, Assistant Professor,Kongu Engi...Inter process communication by Dr.C.R.Dhivyaa, Assistant Professor,Kongu Engi...
Inter process communication by Dr.C.R.Dhivyaa, Assistant Professor,Kongu Engi...Dhivyaa C.R
 
Mule soft meetup__dubai_12_june- Error Handling
Mule soft meetup__dubai_12_june- Error HandlingMule soft meetup__dubai_12_june- Error Handling
Mule soft meetup__dubai_12_june- Error Handlingsatyasekhar123
 
Message queues
Message queuesMessage queues
Message queuesMax Bodnar
 
Leveraging Zend Framework for Sending Push Notifications
Leveraging Zend Framework for Sending Push NotificationsLeveraging Zend Framework for Sending Push Notifications
Leveraging Zend Framework for Sending Push NotificationsMike Willbanks
 
Introduction to Microservices Patterns
Introduction to Microservices PatternsIntroduction to Microservices Patterns
Introduction to Microservices PatternsDimosthenis Botsaris
 
Introduction to Microservices Patterns
Introduction to Microservices PatternsIntroduction to Microservices Patterns
Introduction to Microservices Patternsarconsis
 
Introduction of Apache Camel
Introduction of Apache CamelIntroduction of Apache Camel
Introduction of Apache CamelKnoldus Inc.
 
Introducing MQ Light - IBM Interconnect 2015 session AME4181
Introducing MQ Light - IBM Interconnect 2015 session AME4181Introducing MQ Light - IBM Interconnect 2015 session AME4181
Introducing MQ Light - IBM Interconnect 2015 session AME4181Robert Nicholson
 

Similar to Hyderabad mule meetup_march_2022 (20)

MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ
MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQMuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ
MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ
 
MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdf
MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdfMuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdf
MuleSoft_Meetup_on_Anypoint_MQ_Presentation_with_Template.pdf
 
#4 Mulesoft Virtual Meetup Kolkata December 2020
#4 Mulesoft Virtual Meetup Kolkata December 2020#4 Mulesoft Virtual Meetup Kolkata December 2020
#4 Mulesoft Virtual Meetup Kolkata December 2020
 
SOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingSOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous Queuing
 
Montreal MuleSoft_Meetup_16-Aug.pptx
Montreal MuleSoft_Meetup_16-Aug.pptxMontreal MuleSoft_Meetup_16-Aug.pptx
Montreal MuleSoft_Meetup_16-Aug.pptx
 
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
Mumbai MuleSoft Meetup:Batch Processing, Anypoint Messaging Queue and Custom ...
 
AMQP with RabbitMQ
AMQP with RabbitMQAMQP with RabbitMQ
AMQP with RabbitMQ
 
Microservice Workshop Hands On
Microservice Workshop Hands On Microservice Workshop Hands On
Microservice Workshop Hands On
 
Introduction to Akka Serverless
Introduction to Akka ServerlessIntroduction to Akka Serverless
Introduction to Akka Serverless
 
Messaging-as-a-Service Rivieradev 2017
Messaging-as-a-Service Rivieradev 2017Messaging-as-a-Service Rivieradev 2017
Messaging-as-a-Service Rivieradev 2017
 
Docker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platformsDocker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platforms
 
Event driven-arch
Event driven-archEvent driven-arch
Event driven-arch
 
Inter process communication by Dr.C.R.Dhivyaa, Assistant Professor,Kongu Engi...
Inter process communication by Dr.C.R.Dhivyaa, Assistant Professor,Kongu Engi...Inter process communication by Dr.C.R.Dhivyaa, Assistant Professor,Kongu Engi...
Inter process communication by Dr.C.R.Dhivyaa, Assistant Professor,Kongu Engi...
 
Mule soft meetup__dubai_12_june- Error Handling
Mule soft meetup__dubai_12_june- Error HandlingMule soft meetup__dubai_12_june- Error Handling
Mule soft meetup__dubai_12_june- Error Handling
 
Message queues
Message queuesMessage queues
Message queues
 
Leveraging Zend Framework for Sending Push Notifications
Leveraging Zend Framework for Sending Push NotificationsLeveraging Zend Framework for Sending Push Notifications
Leveraging Zend Framework for Sending Push Notifications
 
Introduction to Microservices Patterns
Introduction to Microservices PatternsIntroduction to Microservices Patterns
Introduction to Microservices Patterns
 
Introduction to Microservices Patterns
Introduction to Microservices PatternsIntroduction to Microservices Patterns
Introduction to Microservices Patterns
 
Introduction of Apache Camel
Introduction of Apache CamelIntroduction of Apache Camel
Introduction of Apache Camel
 
Introducing MQ Light - IBM Interconnect 2015 session AME4181
Introducing MQ Light - IBM Interconnect 2015 session AME4181Introducing MQ Light - IBM Interconnect 2015 session AME4181
Introducing MQ Light - IBM Interconnect 2015 session AME4181
 

More from Sravan Lingam

Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-MonitoringPrinceton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-MonitoringSravan Lingam
 
MuleSoft RPA for Beginners.pptx
MuleSoft RPA for Beginners.pptxMuleSoft RPA for Beginners.pptx
MuleSoft RPA for Beginners.pptxSravan Lingam
 
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptx
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptxPrinceton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptx
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptxSravan Lingam
 
Toronto Event Sourcing using Mulesoft.pptx
Toronto Event Sourcing using Mulesoft.pptxToronto Event Sourcing using Mulesoft.pptx
Toronto Event Sourcing using Mulesoft.pptxSravan Lingam
 
Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4
Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4
Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4Sravan Lingam
 
Hyderabad MuleSoft Meetup - Anypoint Studio Tips and Tricks & Salesforce Comp...
Hyderabad MuleSoft Meetup - Anypoint Studio Tips and Tricks & Salesforce Comp...Hyderabad MuleSoft Meetup - Anypoint Studio Tips and Tricks & Salesforce Comp...
Hyderabad MuleSoft Meetup - Anypoint Studio Tips and Tricks & Salesforce Comp...Sravan Lingam
 
Hyderabad meet up-sep12
Hyderabad meet up-sep12Hyderabad meet up-sep12
Hyderabad meet up-sep12Sravan Lingam
 
Mule Meetup Hyderabad - Aug 2020
Mule Meetup Hyderabad - Aug 2020Mule Meetup Hyderabad - Aug 2020
Mule Meetup Hyderabad - Aug 2020Sravan Lingam
 
Mule meetup Hyderabad
Mule meetup HyderabadMule meetup Hyderabad
Mule meetup HyderabadSravan Lingam
 

More from Sravan Lingam (9)

Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-MonitoringPrinceton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
Princeton-NJ-Meetup-Troubleshooting-with-AnyPoint-Monitoring
 
MuleSoft RPA for Beginners.pptx
MuleSoft RPA for Beginners.pptxMuleSoft RPA for Beginners.pptx
MuleSoft RPA for Beginners.pptx
 
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptx
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptxPrinceton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptx
Princeton-NJ-Meetup-Externalizing-Mule-logs-Azure-blog-storage.pptx
 
Toronto Event Sourcing using Mulesoft.pptx
Toronto Event Sourcing using Mulesoft.pptxToronto Event Sourcing using Mulesoft.pptx
Toronto Event Sourcing using Mulesoft.pptx
 
Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4
Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4
Hyd MuleSoft-Meetup-May 29,2021 | Migrating Mule 3 Java related code to Mule 4
 
Hyderabad MuleSoft Meetup - Anypoint Studio Tips and Tricks & Salesforce Comp...
Hyderabad MuleSoft Meetup - Anypoint Studio Tips and Tricks & Salesforce Comp...Hyderabad MuleSoft Meetup - Anypoint Studio Tips and Tricks & Salesforce Comp...
Hyderabad MuleSoft Meetup - Anypoint Studio Tips and Tricks & Salesforce Comp...
 
Hyderabad meet up-sep12
Hyderabad meet up-sep12Hyderabad meet up-sep12
Hyderabad meet up-sep12
 
Mule Meetup Hyderabad - Aug 2020
Mule Meetup Hyderabad - Aug 2020Mule Meetup Hyderabad - Aug 2020
Mule Meetup Hyderabad - Aug 2020
 
Mule meetup Hyderabad
Mule meetup HyderabadMule meetup Hyderabad
Mule meetup Hyderabad
 

Recently uploaded

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 

Recently uploaded (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 

Hyderabad mule meetup_march_2022

  • 1. 5th March 2022 Hyderabad MuleSoft Meetup Group All About Anypoint MQ
  • 2. 2 ● Introductions ● Anypoint MQ Presentation ● Demo ● Trivia Quiz ● Networking time (We can extend our time if you are interested to chat ! ) Agenda
  • 3. 3 ● Santhosh Thondiraj ( https://www.linkedin.com/in/achieve-santhosh/ ) , Senior Software Engineer at Apisero from Tamilnadu, India. ● 1.5 years of Experience in MuleSoft , MuleSoft Certified Developer ● Worked on migration projects from On-Premise into Cloudhub by implementing VPC & VPN. ● Passionate on Organizing/Participating in Marathoner events such as Half/10K runs . ● An Air Rifle/Pistol Shooter. About The Speaker
  • 4. 4 Sravan Lingam – Hyderabad India ● Senior Integration Developer and Architect at Billennium ,Poland ● MuleSoft Ambassador , MuleSoft Meetup Leader Hyderabad ● Technical Writer/Speaker/Trainer ● Owner of MuleSoft TechZone - YouTube, LinkedIn,FaceBook, Instagram and Twitter ● http://www.sravanlingam.com ● https://www.linkedin.com/in/sravanlingam/ About the Organizer A SHOW OF HANDS: Who is new to this Meetup?
  • 5. 5 ● training.mulesoft.com ● help.mulesoft.com ● Exam readiness sessions (only IST zone) . ● Great Events are on Its way : PKO (https://events.mulesoft.com/pko/home), TDX (https://www.salesforce.com/trailblazerdx/) ● Become a Speaker/Leader/Mentor. ● About Trivia Quiz – common questions ● Questions on Vouchers, Session recordings etc. ● Provide us the Feedback About the MuleSoft Community
  • 6. { An Enterprise Subscription Feature, specially to handle Queue based Scenarios } All About Anypoint MQ
  • 7. 7 ❖ Queue ❖ Anypoint MQ ❖ Types of Queue ❖ Creating/Deleting/Modifying Queues ❖ Creating/Deleting Client Apps ❖ Publishing/Sending/Deleting Messages ❖ Subscribing/Consuming Messages ❖ Acknowledging Queues ❖ Dead Letter Queue ← ← ← ← ← Let’s Explore Anypoint MQ → → → → →
  • 8. Queue : A queue is a temporary storage area used for inter-app communication, to transfer the message from one API/service to another. Anypoint MQ : ● It is a cloud messaging service that performs asynchronous messaging scenarios between applications ● It Supports large payloads (upto - 10 MB). ● It Enables easy connection to non-Mule applications using the REST API. ● It Provides a special feature called Dead-Letter Queue (DLQ) 8
  • 9. Major Limitations of Anypoint MQ (on High-Level) : ● Anypoint MQ is : ● Exclusive for Enterprise Subscription and not for Trial Accounts. ● Is only available for the Cloudhub-hosted application; it is not available for the APIs hosted on on-premise servers. ● Is Region and Environment specific. ● Two or more instances cannot retrieve the same Messages at the same time, one should wait until the previous instance releases the Messages. ● Sometimes we cannot expect Quick reflection in Anypoint MQ User Interface, it may delay some time to reflect the changes, 9
  • 10. Regions where Anypoint MQ Available : Anypoint MQ standard and FIFO queues are available in these regions: 10 Control Plane Location Region US North America Northern Virginia (us-east-1) Oregon (us-west-2) Central Canada (ca-central-1) EU Europe Ireland (eu-west-1) London (eu-west-2) AP APAC Singapore (ap-southeast-1) Sydney (ap-southeast-2) Tokyo (ap-northeast-1)
  • 11. Types of Queue and Uses
  • 12. Types of Queue : 1. Queue ( Standard Queue ) 2. FIFO Queue ( First In First Out ) Broadcaster/Queue : 1. Exchange : 12
  • 13. 1. Queue ( Standard Queue ) : ● Storage area where messages where an application/service can send and receive messages to a queue in an unordered manner. ● We can store an unlimited number of messages in a Queue. ● From API, we can pick maximum 1,20,000 messages at a time, but processing of those messages will happen one by one randomly. ● From UI, we can view maximum 50 messages at a time. 13
  • 14. 2. FIFO Queue ( First In First Out ) : ● It is as same as a standard queue, but here ordering of messages is maintained ● We can store an unlimited number of messages in a FIFO Queue. ● To ensure the ordering of messages it is restricted to pick 10 messages per processing state from both API as well as from UI. 3. Exchange : ● Used to Broadcasting messages to a Queue. ● We can create an Exchange and bind other queues into an Exchange, so that whenever messages get Published/Send to an Exchange, those messages will get Broadcast/Forwarded to all Queues associated with the Exchange. ● Example : Broadcast feature in WhatsApp 14
  • 15. Things to know before : ❖ We can create N number (Unlimited) Queues. ❖ Every Queue has 2 stages : ➢ In-Queue :  Which holds all the messages got Created/Published into a Queue  Ready for processing whenever needed. ➢ In-Flight :  Once subscriber/consumer start consuming the Queue, the messages will move from In-Queue State → In-Flight state.  Under Processing.  Messages under In-Flight are Locked, those messages cannot be fetch by some other subscribers/consumers. ❖ Queues and Messages cannot be shared between Regions and Environments. 15
  • 16. Configuration Where and all needed : To Create, Configure, Implement, and Use → the Anypoint MQ, we need to work on both : 1. Anypoint Platform : ● Create/Delete Queues ● Send/Delete Messages of Queues ● View Messages of Queues. ● Modifying Queues ● Create/Delete Client Apps 1. Anypoint Studio (Application) : ● Publish Messages into Queues ● Consume/Subscribe Messages of Queues ● Acknowledge the Messages of Queues. 16
  • 18. Anypoint MQ Connectors: By default Anypoint MQ connectors are not available in the Studio, we need to add the dependencies from Exchange. There are 5 Anypoint MQ Connectors/Operations are available : 1. Publish 2. Subscribe 3. Consume 4. Ack 5. Nack 18
  • 19. 1.Publish : ● To Publish/Send the Messages to the Queue which is already available/created in the Anypoint MQ. ● It’s a Processor 2.Subscribe : ● Subscribe the Queue and listen to the new Messages, and picks it. ● Whenever Queue receives any new Messages, Subscriber will automatically start trigger, and fetches the Messages ● It’s a Source 3.Consume : ● Used to Consume Messages from the Assigned Queue. ● We can use Consume to consume the Messages anywhere in the Flow execution ● It’s a Processor 19
  • 20. 4. ACK : ● ACK → Positive Acknowledgement ● If we want to Manually send a Positive Acknowledgement to the Queue about the successful consumption of the message, we can use the ACK connector ● It’s a Processor ● Messages will be deleted from the Queue 5. NACK : ● NACK → Negative Acknowledgement ● If we want to Manually send a Negative Acknowledgement to the Queue, stating that the consumed message is not processed successfully ● It’s a Processor ● Messages won’t be deleted from the Queue 20
  • 21. Demo Actions on Application (Anypoint Studio)
  • 22. Dead Letter Queue (DLQ) : ● DLQ is same as a Queue creation ● A special feature to keep a Track of Unprocessed Messages ● In some cases, Messages will keep-on failing during process, in that case we can reroute those messages to DLQ by assigning it to a particular Queue . This helps us to find unprocessed messages ● A dead letter queue is associated with one or more queues Things to remember before creating Dead Letter Queue (DLQ) : The DLQ and parent queue both need to be: 1. Same type of queue (standard or FIFO) 2. Created in the same geographical region 3. Created in the same environment and owned by the same Anypoint Platform account 22
  • 24. Introduce yourself to your neighbor Networking time
  • 25. ● New to community? ● Queries regarding Vouchers ● Trivia Quiz! 25