SlideShare a Scribd company logo
1 of 20
Download to read offline
Overview of Anypoint MQ
Surat MuleSoft Meetup Group
April 6, 2022
21:00 (GMT+05:30)
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.
2
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 & AnswersTab.
Make it more Interactive!!!
Give us feedback! Rate this meetup session by filling feedback form at the end of theday.
We Love Feedbacks!!! Its Bread & Butter for Meetup.
Housekeeping
3
Organizers
4
Jitendra Bafna
Senior Solution Architect
EPAM Systems
Nitish Jain
Application Developer
Accenture
Jitendra Bafna – Senior Solution Architect at
EPAM Systems
❖ MuleSoft Ambassador
❖ Working as a APIN Global Competency Lead at EPAM Systems.
❖ 14+ years of total IT experience. 6+ years in the MuleSoft.
❖ Salesforce Certified MuleSoft Developer - Level 1
❖ Salesforce Certified MuleSoft Developer - Level 2
❖ Salesforce Certified MuleSoft Integration Architect - Level 1
❖ Salesforce Certified MuleSoft Platform Architect - Level 1
❖ Go To Market Champion/Delivery Champion/Industry Champion
❖ Surat/Mumbai/Nashik/Engineering Student Meetup Group Leader
❖ MuleSoft Meetup Speaker.
Agenda
● Introduction
● Anypoint MQ
● Queues, Exchange, FIFO Queues
● Multicasting/Broadcasting
● Circuit Breaker Pattern
● Dead Letter Queues
● Zero Message Loss
● Reliability Pattern
● Intelligent Routing
● Anypoint MQ Connector
● Acknowledgement Mode
Ask the Ambassadors
8
Anypoint MQ
Anypoint MQ is the messaging service provided by the
MuleSoft and it is fully integrated with the Anypoint
Platform. It is a multitenant, cloud based and fully
managed service. It can perform advanced asynchronous
and real-time messaging such as queueing and
publish/subscribe with fully cloud hosted queues and
exchanges.
Anypoint MQ Capabilities and Features
• High Availability, Reliability and Disaster Recovery — Anypoint MQ may be deployed to
multiple Availability Zones (AZs) within the same region to ensure High Availability (HA). In the event one
of the AZs goes down, Anypoint MQ will operate in another AZ within the same region. If all of the AZs
within a region are out-of-service, then Anypoint MQ will be unavailable until at least one of the AZs
becomes available once again.
• Security — Anypoint MQ provides the option to store messages in the queue as encrypted or
unencrypted. This is optional and encryption may be enabled for a queue at the time of its creation or
later. On the server side, Anypoint MQ uses TLS 1.2 at the transport layer for secure communication and
employs AES-256 GCM for encrypting messages.
• Client App — Anypoint MQ allows you to create a Client App for generating a Client App Id and Client
Secret which may be used by an Anypoint MQ Connector inside of a Mule application to authorize with
Anypoint MQ to access the queues and message exchanges.
• Region — Anypoint MQ operates in multiple regions across the world: North America, Europe and Asia
Pacific.
• Payloads — Anypoint MQ supports payloads up to 10 MB in size in the following supported formats: XML,
JSON, CSV, HTML and plain text.
Anypoint MQ Connector
MuleSoft provides Anypoint MQ Connector for publishing/subscribing messages to/from Anypoint MQ.
Anypoint MQ Connector provides the following operations:
• Publish — The Publish operation can be used to send a message to the Anypoint MQ.
• Subscribe — The Subscribe operation listens to the Anypoint MQ for messages to consume.
• Consume — The Consume operation allows you to consume a message in the middle of a flow.
• Ack — The Ack operation is used to send a positive acknowledgement (ACK). This operation can be
used when you want to send response back to Anypoint MQ manually (Acknowledgement Mode =
Manual).
• Nack — The Nack operation is used to send a negative acknowledgement (NACK). This operation can
be used when you want to send a response back to Anypoint MQ manually (Acknowledgement Mode
= Manual) in case of any exception.
10
Acknowledgement Mode
The Subscribe operation supports three types of acknowledgement modes:
• Immediate — In Immediate acknowledgement mode, the acknowledgment will be sent immediately
as soon as a message is read from the queue, and it doesn’t matter whether a message was processed
successfully or not.
• Auto — Auto is the default acknowledgement mode. In this mode, the acknowledgement is sent to
the queue when a message is read and successfully processed. Otherwise, the message will remain
in In-Flight.
• Manual — In Manual acknowledgement mode, the consuming flow must either send a positive ACK
when a message is processed successfully or a negative NACK if an exception occurs. Either
acknowledgement, ACK or NACK, needs to be sent manually by consumers when Manual is the
acknowledgement mode.
11
Queues, FIFO and Exchange
Anypoint MQ allows you to create Standard Queues, FIFO Queues and Dead-letter Queues in Anypoint Platform.
• Standard Queue — A Standard Queue does not guarantee a specific message ordering as it can process messages
in any order. This queue can be used when you do not have any requirement for processing messages in sequential
order and simply need to deliver the message quickly. A Standard Queue allows 120,000 messages in-flight per
queue.
In-Flight is the state in which a message in the queue has been picked up and is waiting to be processed. It will remain
in-flight until acknowledgement (ACK or NACK) or a response timeout occurs.
• FIFO Queue — A FIFO (First In, First Out) Queue guarantees the message order and processes the message in
the sequence it arrived. This is useful when you need to process the message strictly in the order and exactly one
time. A FIFO Queue allows 10 messages in-flight per queue.
• Dead Letter Queue (DLQ) — A Dead Letter Queue can be created in the same way as a Standard Queue or FIFO
Queue in Anypoint Platform and may be assigned to another queue of the same type (Standard or FIFO). A
consumer will take the message from the queue and try to process it, and in case any error occurs, the message will
be in in-flight status and processing of the message will be retried until the maximum number of unsuccessful delivery
attempts (a default of 10) has been reached, after which the message will be placed in the Dead Letter Queue.
Circuit Breaker Pattern
Circuit Breaker Pattern — The circuit breaker pattern is a design
pattern used in software development, API development, and in
event-driven architecture. It is generally used for detecting a
temporary failure (such as a connection failure to a backend system
during its maintenance window) and preventing it from constantly
recurring. The circuit breaker may be in one of three states:
• Open — In the open state, the subscriber will stop consuming
messages from the MQ until the trip timeout occurs. Subscribers
move from closed to the open when errorCount ≥
errorThreshold.
• Closed — In the closed state, a subscriber is able to consume
messages from the MQ.
• Half Open — The half-open state occurs after
the tripTimeout has elapsed, after which the subscriber may try
to read a single message from MQ to verify if the failed system
has recovered from failure before moving back to the Open state.
Multicasting/Broadcasting
Anypoint MQ supports
the multicasting integration pattern where
a message can be sent to multiple queues
at the same time. Anypoint MQ allows you
to create a message exchange, which can
be created in the same way as a normal
message queue, to bind multiple queues
together so that a publisher may send a
message to the message exchange, and
that message exchange will broadcast the
same message to all of its bound queues. A
maximum of 450 queues may be bound to
an individual message exchange.
Other Integration Patterns
● Reliability — Anypoint MQ supports reliability patterns, such as the lock and acknowledge
mechanism, to ensure that a message is always processed in case of any failures.
● No Message Loss/Zero Message Loss — Anypoint MQ can ensure that no messages are lost when a
failure occurs while processing the message from the queue by rerouting the message to the Dead
Letter Queue (DLQ). The message may be recovered from the DLQ for further processing.
● Competing Queue Consumer Pattern — Anypoint MQ allows for many consumers to listen to the
same queue but ensure that any single message will be delivered to just one of the consumers.
● Publish/Subscribe Pattern — Messages published via a message broker to a message exchange will
be delivered individually to all of the queues bound to that message exchange so that any consumer
listening to a bound queue may consume the published message for further processing.
Intelligent Routing
Q & A
Take a stand !
18
●Nominate yourself for the next meetup speaker and suggest a topic as well.
20
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/surat/
● 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 MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ

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
 
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
 
RabbitMQ interview Questions and Answers
RabbitMQ interview Questions and AnswersRabbitMQ interview Questions and Answers
RabbitMQ interview Questions and Answersjeetendra mandal
 
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
 
Introduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenIntroduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenDimosthenis Botsaris
 
Introduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenIntroduction to Kafka and Event-Driven
Introduction to Kafka and Event-Drivenarconsis
 
IBM IMPACT 2014 - AMC-1882 Building a Scalable & Continuously Available IBM M...
IBM IMPACT 2014 - AMC-1882 Building a Scalable & Continuously Available IBM M...IBM IMPACT 2014 - AMC-1882 Building a Scalable & Continuously Available IBM M...
IBM IMPACT 2014 - AMC-1882 Building a Scalable & Continuously Available IBM M...Peter Broadhurst
 
IBM MQ: Managing Workloads, Scaling and Availability with MQ Clusters
IBM MQ: Managing Workloads, Scaling and Availability with MQ ClustersIBM MQ: Managing Workloads, Scaling and Availability with MQ Clusters
IBM MQ: Managing Workloads, Scaling and Availability with MQ ClustersDavid Ware
 
Enterprise messaging with jms
Enterprise messaging with jmsEnterprise messaging with jms
Enterprise messaging with jmsSridhar Reddy
 
HHM-3540: The IBM MQ Light API: From Developer Laptop to Enterprise Data Cen...
 HHM-3540: The IBM MQ Light API: From Developer Laptop to Enterprise Data Cen... HHM-3540: The IBM MQ Light API: From Developer Laptop to Enterprise Data Cen...
HHM-3540: The IBM MQ Light API: From Developer Laptop to Enterprise Data Cen...Matt Leming
 
IBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging Capabilities
IBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging CapabilitiesIBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging Capabilities
IBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging CapabilitiesPeter Broadhurst
 
1463401 rc214-mqtt-update
1463401 rc214-mqtt-update1463401 rc214-mqtt-update
1463401 rc214-mqtt-updateEugenio Lysei
 
Message queues
Message queuesMessage queues
Message queuesMax Bodnar
 
SOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingSOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingWSO2
 
Velocity Conference '13: Asynchronous messaging for performance optimization,...
Velocity Conference '13: Asynchronous messaging for performance optimization,...Velocity Conference '13: Asynchronous messaging for performance optimization,...
Velocity Conference '13: Asynchronous messaging for performance optimization,...Al Sargent
 
Demystifying the use of circuit breakers with MuleSoft
Demystifying the use of circuit breakers with MuleSoftDemystifying the use of circuit breakers with MuleSoft
Demystifying the use of circuit breakers with MuleSoftSandeep Deshmukh
 

Similar to MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ (20)

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 ...
 
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
 
RabbitMQ interview Questions and Answers
RabbitMQ interview Questions and AnswersRabbitMQ interview Questions and Answers
RabbitMQ interview Questions and Answers
 
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
 
Introduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenIntroduction to Kafka and Event-Driven
Introduction to Kafka and Event-Driven
 
Introduction to Kafka and Event-Driven
Introduction to Kafka and Event-DrivenIntroduction to Kafka and Event-Driven
Introduction to Kafka and Event-Driven
 
IBM IMPACT 2014 - AMC-1882 Building a Scalable & Continuously Available IBM M...
IBM IMPACT 2014 - AMC-1882 Building a Scalable & Continuously Available IBM M...IBM IMPACT 2014 - AMC-1882 Building a Scalable & Continuously Available IBM M...
IBM IMPACT 2014 - AMC-1882 Building a Scalable & Continuously Available IBM M...
 
zeromq
zeromqzeromq
zeromq
 
IBM MQ: Managing Workloads, Scaling and Availability with MQ Clusters
IBM MQ: Managing Workloads, Scaling and Availability with MQ ClustersIBM MQ: Managing Workloads, Scaling and Availability with MQ Clusters
IBM MQ: Managing Workloads, Scaling and Availability with MQ Clusters
 
Enterprise messaging with jms
Enterprise messaging with jmsEnterprise messaging with jms
Enterprise messaging with jms
 
HHM-3540: The IBM MQ Light API: From Developer Laptop to Enterprise Data Cen...
 HHM-3540: The IBM MQ Light API: From Developer Laptop to Enterprise Data Cen... HHM-3540: The IBM MQ Light API: From Developer Laptop to Enterprise Data Cen...
HHM-3540: The IBM MQ Light API: From Developer Laptop to Enterprise Data Cen...
 
IBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging Capabilities
IBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging CapabilitiesIBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging Capabilities
IBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging Capabilities
 
Pika driver
Pika driverPika driver
Pika driver
 
RabbitMQ.pptx
RabbitMQ.pptxRabbitMQ.pptx
RabbitMQ.pptx
 
Rabbitmq basics
Rabbitmq basicsRabbitmq basics
Rabbitmq basics
 
1463401 rc214-mqtt-update
1463401 rc214-mqtt-update1463401 rc214-mqtt-update
1463401 rc214-mqtt-update
 
Message queues
Message queuesMessage queues
Message queues
 
SOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous QueuingSOA Pattern-Asynchronous Queuing
SOA Pattern-Asynchronous Queuing
 
Velocity Conference '13: Asynchronous messaging for performance optimization,...
Velocity Conference '13: Asynchronous messaging for performance optimization,...Velocity Conference '13: Asynchronous messaging for performance optimization,...
Velocity Conference '13: Asynchronous messaging for performance optimization,...
 
Demystifying the use of circuit breakers with MuleSoft
Demystifying the use of circuit breakers with MuleSoftDemystifying the use of circuit breakers with MuleSoft
Demystifying the use of circuit breakers with MuleSoft
 

More from Jitendra Bafna

MuleSoft Surat Meetup#54 - MuleSoft Automation
MuleSoft Surat Meetup#54 - MuleSoft AutomationMuleSoft Surat Meetup#54 - MuleSoft Automation
MuleSoft Surat Meetup#54 - MuleSoft AutomationJitendra Bafna
 
MuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial Modernization
MuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial ModernizationMuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial Modernization
MuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial ModernizationJitendra Bafna
 
MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...
MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...
MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...Jitendra Bafna
 
MuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
MuleSoft Surat Meetup#51 - API Monitoring - Through a New LensMuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
MuleSoft Surat Meetup#51 - API Monitoring - Through a New LensJitendra Bafna
 
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...Jitendra Bafna
 
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 MuleSoftJitendra Bafna
 
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...Jitendra Bafna
 
MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...
MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...
MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...Jitendra Bafna
 
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...Jitendra Bafna
 
MuleSoft Surat Meetup#47 - Error Handling With MuleSoft
MuleSoft Surat Meetup#47 - Error Handling With MuleSoftMuleSoft Surat Meetup#47 - Error Handling With MuleSoft
MuleSoft Surat Meetup#47 - Error Handling With MuleSoftJitendra Bafna
 
MuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoft
MuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoftMuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoft
MuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoftJitendra Bafna
 
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...Jitendra Bafna
 
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 RustJitendra Bafna
 
Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...
Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...
Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...Jitendra Bafna
 
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize LogsMuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize LogsJitendra Bafna
 
MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...
MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...
MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...Jitendra Bafna
 
Engineering Student MuleSoft Meetup#5 - Error Handling With MuleSoft
Engineering Student MuleSoft Meetup#5 - Error Handling With MuleSoftEngineering Student MuleSoft Meetup#5 - Error Handling With MuleSoft
Engineering Student MuleSoft Meetup#5 - Error Handling With MuleSoftJitendra Bafna
 
MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...
MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...
MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...Jitendra Bafna
 
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...Jitendra Bafna
 
MuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoft
MuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoftMuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoft
MuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoftJitendra Bafna
 

More from Jitendra Bafna (20)

MuleSoft Surat Meetup#54 - MuleSoft Automation
MuleSoft Surat Meetup#54 - MuleSoft AutomationMuleSoft Surat Meetup#54 - MuleSoft Automation
MuleSoft Surat Meetup#54 - MuleSoft Automation
 
MuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial Modernization
MuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial ModernizationMuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial Modernization
MuleSoft Surat Meetup#53 - MuleSoft for Clinical Trial Modernization
 
MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...
MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...
MuleSoft Surat Meetup#52 - Flex Gateway (Port Based Routing V/S Path Based Ro...
 
MuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
MuleSoft Surat Meetup#51 - API Monitoring - Through a New LensMuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
MuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
 
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
Engineering Student MuleSoft Meetup#7 - Leveraging MuleSoft Service in Salesf...
 
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
 
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
MuleSoft Surat Meetup#50 - Ask the MuleSoft Ambassadors + CloudHub 2.0 Overvi...
 
MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...
MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...
MuleSoft Surat Meetup#49 - Robotic Process Automation - Why, Where, When and ...
 
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
MuleSoft Surat Meetup#48 - Anypoint API Governance (RAML, OAS and Async API) ...
 
MuleSoft Surat Meetup#47 - Error Handling With MuleSoft
MuleSoft Surat Meetup#47 - Error Handling With MuleSoftMuleSoft Surat Meetup#47 - Error Handling With MuleSoft
MuleSoft Surat Meetup#47 - Error Handling With MuleSoft
 
MuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoft
MuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoftMuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoft
MuleSoft Surat Meetup#46 - Deep Dive into MUnit With MuleSoft
 
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
MuleSoft Surat Meetup#45 - Anypoint Flex Gateway as a Kubernetes Ingress Cont...
 
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
 
Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...
Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...
Engineering Student MuleSoft Meetup#6 - Basic Understanding of DataWeave With...
 
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize LogsMuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
MuleSoft Nashik Meetup#5 - JSON Logger and Externalize Logs
 
MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...
MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...
MuleSoft Surat Meetup#43 - Combine Service Mesh With Anypoint API Management ...
 
Engineering Student MuleSoft Meetup#5 - Error Handling With MuleSoft
Engineering Student MuleSoft Meetup#5 - Error Handling With MuleSoftEngineering Student MuleSoft Meetup#5 - Error Handling With MuleSoft
Engineering Student MuleSoft Meetup#5 - Error Handling With MuleSoft
 
MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...
MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...
MuleSoft Surat Meetup#42 - Runtime Fabric Manager on Self Managed Kubernetes ...
 
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
 
MuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoft
MuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoftMuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoft
MuleSoft Surat Meetup#40 - Watermarking Concept and Fragments in MuleSoft
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

MuleSoft Surat Meetup#55 - Unleash the power of Anypoint MQ

  • 1. Overview of Anypoint MQ Surat MuleSoft Meetup Group April 6, 2022 21:00 (GMT+05:30)
  • 2. 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. 2
  • 3. 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 & AnswersTab. Make it more Interactive!!! Give us feedback! Rate this meetup session by filling feedback form at the end of theday. We Love Feedbacks!!! Its Bread & Butter for Meetup. Housekeeping 3
  • 4. Organizers 4 Jitendra Bafna Senior Solution Architect EPAM Systems Nitish Jain Application Developer Accenture
  • 5. Jitendra Bafna – Senior Solution Architect at EPAM Systems ❖ MuleSoft Ambassador ❖ Working as a APIN Global Competency Lead at EPAM Systems. ❖ 14+ years of total IT experience. 6+ years in the MuleSoft. ❖ Salesforce Certified MuleSoft Developer - Level 1 ❖ Salesforce Certified MuleSoft Developer - Level 2 ❖ Salesforce Certified MuleSoft Integration Architect - Level 1 ❖ Salesforce Certified MuleSoft Platform Architect - Level 1 ❖ Go To Market Champion/Delivery Champion/Industry Champion ❖ Surat/Mumbai/Nashik/Engineering Student Meetup Group Leader ❖ MuleSoft Meetup Speaker.
  • 6. Agenda ● Introduction ● Anypoint MQ ● Queues, Exchange, FIFO Queues ● Multicasting/Broadcasting ● Circuit Breaker Pattern ● Dead Letter Queues ● Zero Message Loss ● Reliability Pattern ● Intelligent Routing ● Anypoint MQ Connector ● Acknowledgement Mode
  • 8. 8 Anypoint MQ Anypoint MQ is the messaging service provided by the MuleSoft and it is fully integrated with the Anypoint Platform. It is a multitenant, cloud based and fully managed service. It can perform advanced asynchronous and real-time messaging such as queueing and publish/subscribe with fully cloud hosted queues and exchanges.
  • 9. Anypoint MQ Capabilities and Features • High Availability, Reliability and Disaster Recovery — Anypoint MQ may be deployed to multiple Availability Zones (AZs) within the same region to ensure High Availability (HA). In the event one of the AZs goes down, Anypoint MQ will operate in another AZ within the same region. If all of the AZs within a region are out-of-service, then Anypoint MQ will be unavailable until at least one of the AZs becomes available once again. • Security — Anypoint MQ provides the option to store messages in the queue as encrypted or unencrypted. This is optional and encryption may be enabled for a queue at the time of its creation or later. On the server side, Anypoint MQ uses TLS 1.2 at the transport layer for secure communication and employs AES-256 GCM for encrypting messages. • Client App — Anypoint MQ allows you to create a Client App for generating a Client App Id and Client Secret which may be used by an Anypoint MQ Connector inside of a Mule application to authorize with Anypoint MQ to access the queues and message exchanges. • Region — Anypoint MQ operates in multiple regions across the world: North America, Europe and Asia Pacific. • Payloads — Anypoint MQ supports payloads up to 10 MB in size in the following supported formats: XML, JSON, CSV, HTML and plain text.
  • 10. Anypoint MQ Connector MuleSoft provides Anypoint MQ Connector for publishing/subscribing messages to/from Anypoint MQ. Anypoint MQ Connector provides the following operations: • Publish — The Publish operation can be used to send a message to the Anypoint MQ. • Subscribe — The Subscribe operation listens to the Anypoint MQ for messages to consume. • Consume — The Consume operation allows you to consume a message in the middle of a flow. • Ack — The Ack operation is used to send a positive acknowledgement (ACK). This operation can be used when you want to send response back to Anypoint MQ manually (Acknowledgement Mode = Manual). • Nack — The Nack operation is used to send a negative acknowledgement (NACK). This operation can be used when you want to send a response back to Anypoint MQ manually (Acknowledgement Mode = Manual) in case of any exception. 10
  • 11. Acknowledgement Mode The Subscribe operation supports three types of acknowledgement modes: • Immediate — In Immediate acknowledgement mode, the acknowledgment will be sent immediately as soon as a message is read from the queue, and it doesn’t matter whether a message was processed successfully or not. • Auto — Auto is the default acknowledgement mode. In this mode, the acknowledgement is sent to the queue when a message is read and successfully processed. Otherwise, the message will remain in In-Flight. • Manual — In Manual acknowledgement mode, the consuming flow must either send a positive ACK when a message is processed successfully or a negative NACK if an exception occurs. Either acknowledgement, ACK or NACK, needs to be sent manually by consumers when Manual is the acknowledgement mode. 11
  • 12. Queues, FIFO and Exchange Anypoint MQ allows you to create Standard Queues, FIFO Queues and Dead-letter Queues in Anypoint Platform. • Standard Queue — A Standard Queue does not guarantee a specific message ordering as it can process messages in any order. This queue can be used when you do not have any requirement for processing messages in sequential order and simply need to deliver the message quickly. A Standard Queue allows 120,000 messages in-flight per queue. In-Flight is the state in which a message in the queue has been picked up and is waiting to be processed. It will remain in-flight until acknowledgement (ACK or NACK) or a response timeout occurs. • FIFO Queue — A FIFO (First In, First Out) Queue guarantees the message order and processes the message in the sequence it arrived. This is useful when you need to process the message strictly in the order and exactly one time. A FIFO Queue allows 10 messages in-flight per queue. • Dead Letter Queue (DLQ) — A Dead Letter Queue can be created in the same way as a Standard Queue or FIFO Queue in Anypoint Platform and may be assigned to another queue of the same type (Standard or FIFO). A consumer will take the message from the queue and try to process it, and in case any error occurs, the message will be in in-flight status and processing of the message will be retried until the maximum number of unsuccessful delivery attempts (a default of 10) has been reached, after which the message will be placed in the Dead Letter Queue.
  • 13. Circuit Breaker Pattern Circuit Breaker Pattern — The circuit breaker pattern is a design pattern used in software development, API development, and in event-driven architecture. It is generally used for detecting a temporary failure (such as a connection failure to a backend system during its maintenance window) and preventing it from constantly recurring. The circuit breaker may be in one of three states: • Open — In the open state, the subscriber will stop consuming messages from the MQ until the trip timeout occurs. Subscribers move from closed to the open when errorCount ≥ errorThreshold. • Closed — In the closed state, a subscriber is able to consume messages from the MQ. • Half Open — The half-open state occurs after the tripTimeout has elapsed, after which the subscriber may try to read a single message from MQ to verify if the failed system has recovered from failure before moving back to the Open state.
  • 14. Multicasting/Broadcasting Anypoint MQ supports the multicasting integration pattern where a message can be sent to multiple queues at the same time. Anypoint MQ allows you to create a message exchange, which can be created in the same way as a normal message queue, to bind multiple queues together so that a publisher may send a message to the message exchange, and that message exchange will broadcast the same message to all of its bound queues. A maximum of 450 queues may be bound to an individual message exchange.
  • 15. Other Integration Patterns ● Reliability — Anypoint MQ supports reliability patterns, such as the lock and acknowledge mechanism, to ensure that a message is always processed in case of any failures. ● No Message Loss/Zero Message Loss — Anypoint MQ can ensure that no messages are lost when a failure occurs while processing the message from the queue by rerouting the message to the Dead Letter Queue (DLQ). The message may be recovered from the DLQ for further processing. ● Competing Queue Consumer Pattern — Anypoint MQ allows for many consumers to listen to the same queue but ensure that any single message will be delivered to just one of the consumers. ● Publish/Subscribe Pattern — Messages published via a message broker to a message exchange will be delivered individually to all of the queues bound to that message exchange so that any consumer listening to a bound queue may consume the published message for further processing.
  • 17. Q & A
  • 18. Take a stand ! 18 ●Nominate yourself for the next meetup speaker and suggest a topic as well.
  • 19. 20 ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ Invite your network to join: https://meetups.mulesoft.com/surat/ ● 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?