SlideShare a Scribd company logo
Patna MuleSoft Meetup Group (9th
Meetup)
Deep Dive into Anypoint MQ and DLQ
02th April 2022
Organizer
About: Amit Mohan
● Mulesoft mentor
● Working as Solution
Architect at Apisero Inc.
● 11 + year of Total IT
Experience. 4+ years in
Mulesoft.
● Certified MuleSoft
Developer and Architect.
About: Om Prakash
● Salesforce MVP
● Founder AppyCrown Pvt
Ltd
● Leader at Salesforce
Developer Group Motihari
Meetup.
● 10 + years of IT experience
Speaker
Abhishek Bathwal
Associate Solution Architect
Apisero Inc
About:
● Mulesoft Ambassador
● Working as Associate Solution Architect at Apisero Inc.
● 6+ year of Total Experience. 4+ years in Mulesoft.
● Certified MuleSoft Developer and Architect.
● Guwahati and Lucknow Meetup Leader
Safe Harbour Statement
● Both the speaker and the host are organizing this meet-up in individual capacity only. We are
not representing our companies here.
● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any
responsibility that same solution will work for your business requirements.
● This presentation is not meant for any promotional activities.
4
A recording of this meetup will be uploaded to events page within 24 hours.
Questions can be submitted/asked at any time in the Chat/Questions & Answers Tab.
Make it more Interactive!!!
Give us feedback! Rate this meetup session by filling feedback form at the end of the day.
We Love Feedbacks!!! Its Bread & Butter for Meetup.
Housekeeping
5
6
Agenda
● Anypoint MQ
○ Queue Types
○ Connector Types
○ Configuration
○ Error Types
● Circuit Breaker
● DLQ
● Is a cloud messaging service that performs asynchronous messaging scenarios between
applications such as queuing and pub/sub.
● Is managed easily using Anypoint Platform.
● Supports large payloads (max 10 MB), encryption, queuing, and publish/subscribe
(pub/sub)paradigms.
● Enables easy connection to non-Mule applications using the REST API.
● Provides dead-letter queue (DLQ) for undeliverable messages.
● Displays usage statistics on the number of messages and API requests.
Note: Anypoint MQ is not included in the trial account. We require a separate Enterprise subscription.
Message content can be text, CSV, or JSON. The maximum size of a message is 10 MB.If the payload
contains any format except text (such as CSV, HTML, JSON, and XML), Anypoint MQ converts it to a string
before sending, which increases the payload size. This conversion might result in the payload exceeding the
maximum payload size of 10 MB and causing a Payload too large error.
Anypoint MQ
8
Queue Types
● Exchange: The exchange is used for broadcasting a
messages, like one message to multiple consumers. If
any message is send to the exchange, it will be
forwarded to all the the queues binded with it.
● FIFO (first in, first out): FIFO is a normal queue
where messages are stored.The FIFO queue is used
when message need to be consumed in order.
● Queue: The queue is a storage area where messages
are stored for processing.
9
Connector Types
● Subscriber to subscribe to the queue and listen for the receiving
message. (Event source)
● Publish to publish the message to the Queue.
● Consumer to consume a message from the queue.
● Ack to send an acknowledgement to the queue about the
successful consumption of the message and delete the message
from in-flight status.
● Nack to send negative acknowledgement to the queue stating the
consumed message is not processed successfully; changes the
status of the message from in-flight to in-queue to be consumed
again by an available consumer.
10
Configuration
Main elements require:
● URL
● Client API ID
● Client Secret
11
Error Types
● ANYPOINT-MQ:CONNECTIVITY
● ANYPOINT-
MQ:DESTINATION_NOT_FOUND
● ANYPOINT-MQ:ILLEGAL_BODY
● ANYPOINT-MQ:PUBLISHING
● ANYPOINT-MQ:RETRY_EXHAUSTED
● ANYPOINT-MQ:ACKING
● ANYPOINT-MQ:CONSUMING
● ANYPOINT-MQ:TIMEOUT
● ANYPOINT-MQ:NACKING
12
Circuit Breaker
The Subscriber source provides circuit breaking capability, which enables you to
control how the connector handles errors that occur while processing a consumed
message.
For example, when connecting to an external service, you can use the circuit breaker
to handle any downtime of that service. The circuit breaker allows the system to stop
making requests and allows the external service to recover under a reduced load.
The circuit breaker has three states:
● Closed: Normal retrieval and processing of message based on the subscriber
strategy.
● Half Open: Retrieve a single message and attempt to process it.
● Open: Scheduled message fetch are skipped and no more messages are
processed.
13
Configure the Circuit Breaker
● onErrorTypes:
The error types that count as a
failure during the flow
execution.By default, all errors
count as a circuit failure.
● errorsThreshold:
The number of onErrorTypes
errors that must occur for the
circuit breaker to open.
● tripTimeout:
How long the circuit remains open
once errorsThreshold is reached.
● The dead-letter queue (or undelivered-message
queue) is the queue to which messages are sent if
they cannot be routed to their correct destination.
Few things to remember before creating a DLQ.The
DLF and parent queue both need to be:
● Same type of queue (standard or FIFO)
● Created in the same geographical region
● Created in the same environment and owned by
the same Anypoint Platform account.
DLQ
Demo
Q&A
Take a stand !
17
●Nominate yourself for the next meetup speaker and suggest a topic as well.
Get ready to WIN a Special Gift from MuleSoft Community
Quiz Time
19
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/patna/
● 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

More Related Content

Similar to Patna_Meetup_MQ

MuleSoft Surat Virtual Meetup#33 - Unleash the power of Anypoint MQ and DLQ
MuleSoft Surat Virtual Meetup#33 - Unleash the power of Anypoint MQ and DLQ MuleSoft Surat Virtual Meetup#33 - Unleash the power of Anypoint MQ and DLQ
MuleSoft Surat Virtual Meetup#33 - Unleash the power of Anypoint MQ and DLQ
Jitendra Bafna
 
Hyderabad mule meetup_march_2022
Hyderabad mule meetup_march_2022Hyderabad mule meetup_march_2022
Hyderabad mule meetup_march_2022
Sravan Lingam
 
Learn Anypoint MQ | MuleSoft Mysore Meetup #7
Learn Anypoint MQ | MuleSoft Mysore Meetup #7Learn Anypoint MQ | MuleSoft Mysore Meetup #7
Learn Anypoint MQ | MuleSoft Mysore Meetup #7
MysoreMuleSoftMeetup
 
Mumbai MuleSoft Meetup #20
Mumbai MuleSoft Meetup #20Mumbai MuleSoft Meetup #20
Mumbai MuleSoft Meetup #20
Akshata Sawant
 
#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
Roikka Hazarika
 
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
LavinaDesaiAmbani
 
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
Jitendra Bafna
 
SOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingSOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous Queuing
WSO2
 
Introduction of Apache Camel
Introduction of Apache CamelIntroduction of Apache Camel
Introduction of Apache Camel
Knoldus Inc.
 
AMQP with RabbitMQ
AMQP with RabbitMQAMQP with RabbitMQ
AMQP with RabbitMQ
Spyros Papageorgiou
 
Are you weak in the middle?
Are you weak in the middle?Are you weak in the middle?
Are you weak in the middle?
FSCONS
 
Messaging-as-a-Service Rivieradev 2017
Messaging-as-a-Service Rivieradev 2017Messaging-as-a-Service Rivieradev 2017
Messaging-as-a-Service Rivieradev 2017
Ulf Lilleengen
 
Yotpo microservices
Yotpo microservicesYotpo microservices
Yotpo microservices
Ron Barabash
 
Unleash MuleSoft Platform for Enterprise Healthcare Solutions
Unleash MuleSoft Platform for Enterprise Healthcare SolutionsUnleash MuleSoft Platform for Enterprise Healthcare Solutions
Unleash MuleSoft Platform for Enterprise Healthcare Solutions
Eva Mave Ng
 
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
Shekh Muenuddeen
 
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
Shekh Muenuddeen
 
Introduction to Akka Serverless
Introduction to Akka ServerlessIntroduction to Akka Serverless
Introduction to Akka Serverless
Knoldus Inc.
 
Twitter Finagle
Twitter FinagleTwitter Finagle
Twitter Finagle
Knoldus Inc.
 
MuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoft
MuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoftMuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoft
MuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoft
Jitendra Bafna
 
Go at uber
Go at uberGo at uber
Go at uber
Rob Skillington
 

Similar to Patna_Meetup_MQ (20)

MuleSoft Surat Virtual Meetup#33 - Unleash the power of Anypoint MQ and DLQ
MuleSoft Surat Virtual Meetup#33 - Unleash the power of Anypoint MQ and DLQ MuleSoft Surat Virtual Meetup#33 - Unleash the power of Anypoint MQ and DLQ
MuleSoft Surat Virtual Meetup#33 - Unleash the power of Anypoint MQ and DLQ
 
Hyderabad mule meetup_march_2022
Hyderabad mule meetup_march_2022Hyderabad mule meetup_march_2022
Hyderabad mule meetup_march_2022
 
Learn Anypoint MQ | MuleSoft Mysore Meetup #7
Learn Anypoint MQ | MuleSoft Mysore Meetup #7Learn Anypoint MQ | MuleSoft Mysore Meetup #7
Learn Anypoint MQ | MuleSoft Mysore Meetup #7
 
Mumbai MuleSoft Meetup #20
Mumbai MuleSoft Meetup #20Mumbai MuleSoft Meetup #20
Mumbai MuleSoft Meetup #20
 
#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
 
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
 
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
 
SOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingSOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous Queuing
 
Introduction of Apache Camel
Introduction of Apache CamelIntroduction of Apache Camel
Introduction of Apache Camel
 
AMQP with RabbitMQ
AMQP with RabbitMQAMQP with RabbitMQ
AMQP with RabbitMQ
 
Are you weak in the middle?
Are you weak in the middle?Are you weak in the middle?
Are you weak in the middle?
 
Messaging-as-a-Service Rivieradev 2017
Messaging-as-a-Service Rivieradev 2017Messaging-as-a-Service Rivieradev 2017
Messaging-as-a-Service Rivieradev 2017
 
Yotpo microservices
Yotpo microservicesYotpo microservices
Yotpo microservices
 
Unleash MuleSoft Platform for Enterprise Healthcare Solutions
Unleash MuleSoft Platform for Enterprise Healthcare SolutionsUnleash MuleSoft Platform for Enterprise Healthcare Solutions
Unleash MuleSoft Platform for Enterprise Healthcare Solutions
 
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
 
Introduction to Akka Serverless
Introduction to Akka ServerlessIntroduction to Akka Serverless
Introduction to Akka Serverless
 
Twitter Finagle
Twitter FinagleTwitter Finagle
Twitter Finagle
 
MuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoft
MuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoftMuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoft
MuleSoft Nashik Meetup#7 - Building FHIR applications in MongoDB using MuleSoft
 
Go at uber
Go at uberGo at uber
Go at uber
 

More from Om Prakash

Salesforce Winter '23 Release Highlights.pptx
Salesforce Winter '23 Release Highlights.pptxSalesforce Winter '23 Release Highlights.pptx
Salesforce Winter '23 Release Highlights.pptx
Om Prakash
 
TrailblazerDX Motihari.pptx
TrailblazerDX Motihari.pptxTrailblazerDX Motihari.pptx
TrailblazerDX Motihari.pptx
Om Prakash
 
Patna MuleSoft Meetup | Exposing WEB GUI for DWL Mapping File
Patna MuleSoft Meetup | Exposing WEB GUI for DWL Mapping FilePatna MuleSoft Meetup | Exposing WEB GUI for DWL Mapping File
Patna MuleSoft Meetup | Exposing WEB GUI for DWL Mapping File
Om Prakash
 
LWC Local development
LWC Local developmentLWC Local development
LWC Local development
Om Prakash
 
Virtual MuleSoft Meetup may_2020
Virtual MuleSoft Meetup may_2020Virtual MuleSoft Meetup may_2020
Virtual MuleSoft Meetup may_2020
Om Prakash
 
Exception handling in Mule 4 _Virtual mule soft meetup may_2020
Exception handling in Mule 4 �_Virtual mule soft meetup may_2020Exception handling in Mule 4 �_Virtual mule soft meetup may_2020
Exception handling in Mule 4 _Virtual mule soft meetup may_2020
Om Prakash
 
First mule soft meetup in patna bihar's first mulesoft meetup-7th march
First mule soft meetup in patna  bihar's first mulesoft meetup-7th marchFirst mule soft meetup in patna  bihar's first mulesoft meetup-7th march
First mule soft meetup in patna bihar's first mulesoft meetup-7th march
Om Prakash
 
Einstein prediction builder & Einstein language
 Einstein prediction builder & Einstein language Einstein prediction builder & Einstein language
Einstein prediction builder & Einstein language
Om Prakash
 
Presentation Build Your First App by Trailhead
Presentation Build Your First App by TrailheadPresentation Build Your First App by Trailhead
Presentation Build Your First App by Trailhead
Om Prakash
 
Dreamforce global gatherings motihari
Dreamforce global gatherings motihariDreamforce global gatherings motihari
Dreamforce global gatherings motihari
Om Prakash
 
Olap operations
Olap operationsOlap operations
Olap operationsOm Prakash
 

More from Om Prakash (11)

Salesforce Winter '23 Release Highlights.pptx
Salesforce Winter '23 Release Highlights.pptxSalesforce Winter '23 Release Highlights.pptx
Salesforce Winter '23 Release Highlights.pptx
 
TrailblazerDX Motihari.pptx
TrailblazerDX Motihari.pptxTrailblazerDX Motihari.pptx
TrailblazerDX Motihari.pptx
 
Patna MuleSoft Meetup | Exposing WEB GUI for DWL Mapping File
Patna MuleSoft Meetup | Exposing WEB GUI for DWL Mapping FilePatna MuleSoft Meetup | Exposing WEB GUI for DWL Mapping File
Patna MuleSoft Meetup | Exposing WEB GUI for DWL Mapping File
 
LWC Local development
LWC Local developmentLWC Local development
LWC Local development
 
Virtual MuleSoft Meetup may_2020
Virtual MuleSoft Meetup may_2020Virtual MuleSoft Meetup may_2020
Virtual MuleSoft Meetup may_2020
 
Exception handling in Mule 4 _Virtual mule soft meetup may_2020
Exception handling in Mule 4 �_Virtual mule soft meetup may_2020Exception handling in Mule 4 �_Virtual mule soft meetup may_2020
Exception handling in Mule 4 _Virtual mule soft meetup may_2020
 
First mule soft meetup in patna bihar's first mulesoft meetup-7th march
First mule soft meetup in patna  bihar's first mulesoft meetup-7th marchFirst mule soft meetup in patna  bihar's first mulesoft meetup-7th march
First mule soft meetup in patna bihar's first mulesoft meetup-7th march
 
Einstein prediction builder & Einstein language
 Einstein prediction builder & Einstein language Einstein prediction builder & Einstein language
Einstein prediction builder & Einstein language
 
Presentation Build Your First App by Trailhead
Presentation Build Your First App by TrailheadPresentation Build Your First App by Trailhead
Presentation Build Your First App by Trailhead
 
Dreamforce global gatherings motihari
Dreamforce global gatherings motihariDreamforce global gatherings motihari
Dreamforce global gatherings motihari
 
Olap operations
Olap operationsOlap operations
Olap operations
 

Recently uploaded

皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
larisashrestha558
 
The Impact of Artificial Intelligence on Modern Society.pdf
The Impact of Artificial Intelligence on Modern Society.pdfThe Impact of Artificial Intelligence on Modern Society.pdf
The Impact of Artificial Intelligence on Modern Society.pdf
ssuser3e63fc
 
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam
 
Full Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptxFull Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptx
mmorales2173
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
foismail170
 
Brand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio IBrand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio I
thomasaolson2000
 
Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.
alexthomas971
 
salivary gland disorders.pdf nothing more
salivary gland disorders.pdf nothing moresalivary gland disorders.pdf nothing more
salivary gland disorders.pdf nothing more
GokulnathMbbs
 
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring ChapterHow Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
Hector Del Castillo, CPM, CPMM
 
Operating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdfOperating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdf
harikrishnahari6276
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
Manu Mitra
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
Pushpendra Kumar
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
AlinaseFaith
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
foismail170
 
Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!
LukeRoyak
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
ideatoipo
 
han han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi samahan han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi sama
IrlanMalik
 
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Dirk Spencer Corporate Recruiter LION
 
Andrea Kate Portfolio Presentation.pdf
Andrea Kate  Portfolio  Presentation.pdfAndrea Kate  Portfolio  Presentation.pdf
Andrea Kate Portfolio Presentation.pdf
andreakaterasco
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
vencislavkaaa
 

Recently uploaded (20)

皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
 
The Impact of Artificial Intelligence on Modern Society.pdf
The Impact of Artificial Intelligence on Modern Society.pdfThe Impact of Artificial Intelligence on Modern Society.pdf
The Impact of Artificial Intelligence on Modern Society.pdf
 
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
 
Full Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptxFull Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptx
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
 
Brand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio IBrand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio I
 
Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.
 
salivary gland disorders.pdf nothing more
salivary gland disorders.pdf nothing moresalivary gland disorders.pdf nothing more
salivary gland disorders.pdf nothing more
 
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring ChapterHow Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
 
Operating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdfOperating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdf
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
 
Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
 
han han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi samahan han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi sama
 
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
Transferable Skills - Your Roadmap - Part 1 and 2 - Dirk Spencer Senior Recru...
 
Andrea Kate Portfolio Presentation.pdf
Andrea Kate  Portfolio  Presentation.pdfAndrea Kate  Portfolio  Presentation.pdf
Andrea Kate Portfolio Presentation.pdf
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
 

Patna_Meetup_MQ

  • 1. Patna MuleSoft Meetup Group (9th Meetup) Deep Dive into Anypoint MQ and DLQ 02th April 2022
  • 2. Organizer About: Amit Mohan ● Mulesoft mentor ● Working as Solution Architect at Apisero Inc. ● 11 + year of Total IT Experience. 4+ years in Mulesoft. ● Certified MuleSoft Developer and Architect. About: Om Prakash ● Salesforce MVP ● Founder AppyCrown Pvt Ltd ● Leader at Salesforce Developer Group Motihari Meetup. ● 10 + years of IT experience
  • 3. Speaker Abhishek Bathwal Associate Solution Architect Apisero Inc About: ● Mulesoft Ambassador ● Working as Associate Solution Architect at Apisero Inc. ● 6+ year of Total Experience. 4+ years in Mulesoft. ● Certified MuleSoft Developer and Architect. ● Guwahati and Lucknow Meetup Leader
  • 4. Safe Harbour Statement ● Both the speaker and the host are organizing this meet-up in individual capacity only. We are not representing our companies here. ● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any responsibility that same solution will work for your business requirements. ● This presentation is not meant for any promotional activities. 4
  • 5. A recording of this meetup will be uploaded to events page within 24 hours. Questions can be submitted/asked at any time in the Chat/Questions & Answers Tab. Make it more Interactive!!! Give us feedback! Rate this meetup session by filling feedback form at the end of the day. We Love Feedbacks!!! Its Bread & Butter for Meetup. Housekeeping 5
  • 6. 6 Agenda ● Anypoint MQ ○ Queue Types ○ Connector Types ○ Configuration ○ Error Types ● Circuit Breaker ● DLQ
  • 7. ● Is a cloud messaging service that performs asynchronous messaging scenarios between applications such as queuing and pub/sub. ● Is managed easily using Anypoint Platform. ● Supports large payloads (max 10 MB), encryption, queuing, and publish/subscribe (pub/sub)paradigms. ● Enables easy connection to non-Mule applications using the REST API. ● Provides dead-letter queue (DLQ) for undeliverable messages. ● Displays usage statistics on the number of messages and API requests. Note: Anypoint MQ is not included in the trial account. We require a separate Enterprise subscription. Message content can be text, CSV, or JSON. The maximum size of a message is 10 MB.If the payload contains any format except text (such as CSV, HTML, JSON, and XML), Anypoint MQ converts it to a string before sending, which increases the payload size. This conversion might result in the payload exceeding the maximum payload size of 10 MB and causing a Payload too large error. Anypoint MQ
  • 8. 8 Queue Types ● Exchange: The exchange is used for broadcasting a messages, like one message to multiple consumers. If any message is send to the exchange, it will be forwarded to all the the queues binded with it. ● FIFO (first in, first out): FIFO is a normal queue where messages are stored.The FIFO queue is used when message need to be consumed in order. ● Queue: The queue is a storage area where messages are stored for processing.
  • 9. 9 Connector Types ● Subscriber to subscribe to the queue and listen for the receiving message. (Event source) ● Publish to publish the message to the Queue. ● Consumer to consume a message from the queue. ● Ack to send an acknowledgement to the queue about the successful consumption of the message and delete the message from in-flight status. ● Nack to send negative acknowledgement to the queue stating the consumed message is not processed successfully; changes the status of the message from in-flight to in-queue to be consumed again by an available consumer.
  • 10. 10 Configuration Main elements require: ● URL ● Client API ID ● Client Secret
  • 11. 11 Error Types ● ANYPOINT-MQ:CONNECTIVITY ● ANYPOINT- MQ:DESTINATION_NOT_FOUND ● ANYPOINT-MQ:ILLEGAL_BODY ● ANYPOINT-MQ:PUBLISHING ● ANYPOINT-MQ:RETRY_EXHAUSTED ● ANYPOINT-MQ:ACKING ● ANYPOINT-MQ:CONSUMING ● ANYPOINT-MQ:TIMEOUT ● ANYPOINT-MQ:NACKING
  • 12. 12 Circuit Breaker The Subscriber source provides circuit breaking capability, which enables you to control how the connector handles errors that occur while processing a consumed message. For example, when connecting to an external service, you can use the circuit breaker to handle any downtime of that service. The circuit breaker allows the system to stop making requests and allows the external service to recover under a reduced load. The circuit breaker has three states: ● Closed: Normal retrieval and processing of message based on the subscriber strategy. ● Half Open: Retrieve a single message and attempt to process it. ● Open: Scheduled message fetch are skipped and no more messages are processed.
  • 13. 13 Configure the Circuit Breaker ● onErrorTypes: The error types that count as a failure during the flow execution.By default, all errors count as a circuit failure. ● errorsThreshold: The number of onErrorTypes errors that must occur for the circuit breaker to open. ● tripTimeout: How long the circuit remains open once errorsThreshold is reached.
  • 14. ● The dead-letter queue (or undelivered-message queue) is the queue to which messages are sent if they cannot be routed to their correct destination. Few things to remember before creating a DLQ.The DLF and parent queue both need to be: ● Same type of queue (standard or FIFO) ● Created in the same geographical region ● Created in the same environment and owned by the same Anypoint Platform account. DLQ
  • 15. Demo
  • 16. Q&A
  • 17. Take a stand ! 17 ●Nominate yourself for the next meetup speaker and suggest a topic as well.
  • 18. Get ready to WIN a Special Gift from MuleSoft Community Quiz Time
  • 19. 19 ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ Invite your network to join: https://meetups.mulesoft.com/patna/ ● 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?