SlideShare a Scribd company logo
A Short Introduction on
Error Handing in Anypoint
Platform
By – Swapnil Sahu
Error Handling in Mule
Mule provides numerous options for handling errors. Faults that occur within Mule
are referred to as exceptions; when an activity in your Mule instance fails, Mule
throws an exception. To manage these exceptions, Mule allows you to configure
exception strategies.
Types of Exceptions
From a high level perspective, errors that occur in Mule fall into one of
two categories:
• System Exceptions
• Messaging Exceptions.
System Exceptions
Mule invokes a System Exception Strategy when an exception is thrown at the system-
level (i.e., when no message is involved, exceptions are handled by system exception
strategies).
When a system exception strategy occurs, Mule sends an exception notification to
registered listeners, logs the exception, and if the exception was caused by a
connection failure executes the reconnection strategy. System Exception Strategies
are not configurable in Mule.
Messaging Exceptions
Mule invokes a Messaging Exception Strategy whenever an exception is thrown within
a flow (i.e., whenever a message is involved, exceptions are handled by messaging
exception strategies).
When a message being processed through a Mule flow throws an exception, normal
flow execution stops and processes transfers to the message processor sequence
within the exception strategy. You can incorporate any number of message processors
and in one case, other exception strategies into an exception strategy to handle the
exception precisely as you wish
Types of Exception Strategies
Characteristics of Messaging Exception
Strategies
• Each flow can contain only one exception strategy. However this can be a choice
exception strategy that then refers to other nested exception strategies.
• Choice exception strategies can contain one or more catch and/or rollback exception
strategies. (Rollback and catch exception strategies cannot, however, contain other
exception strategies.)
• Each exception strategy can contain any number of message processors.
• The exception strategy message processors should not throw exceptions, because
you cannot create a nested exception strategy for these message processors.
Thank You

More Related Content

PPTX
Mule exception strategies
PPTX
Error handling
PPTX
Mule error handling
PPT
Php Error Handling
PPTX
Error handling and debugging in vb
PPTX
Mule exception strategies
PPTX
Anypoint Studio - Mule ESB Error Handling
PPTX
Mule error handling
Mule exception strategies
Error handling
Mule error handling
Php Error Handling
Error handling and debugging in vb
Mule exception strategies
Anypoint Studio - Mule ESB Error Handling
Mule error handling

Similar to A short introduction on error handling in anypoint studio (20)

PPTX
Mule - error handling
PPTX
Mule concepts exception strategies
PPTX
Mule exceptions Strategy
PPTX
Error handling with respect to mule
PPTX
Error handling in mule
PPTX
Mule errors
PDF
Exception strategies in MuleSoft Anypoint Studio
PPT
Mule exception strategies - Choice Exception Strategy
PPTX
Elements in a muleflow
PPTX
Elements in a mule flow
PPTX
Handle exceptions in mule
PPTX
Exception handling in Mule 4 _Virtual mule soft meetup may_2020
PPTX
Virtual MuleSoft Meetup may_2020
ODP
Exception handling basics in mule
PPTX
Mulesoft meetup slides mumbai_20113019_exception_handling
PPTX
Mule error handling_choice exception strategy
ODP
Mule exception handlingstrategies
PPTX
Mule error handling_rollback exception strategy
PPTX
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Mule - error handling
Mule concepts exception strategies
Mule exceptions Strategy
Error handling with respect to mule
Error handling in mule
Mule errors
Exception strategies in MuleSoft Anypoint Studio
Mule exception strategies - Choice Exception Strategy
Elements in a muleflow
Elements in a mule flow
Handle exceptions in mule
Exception handling in Mule 4 _Virtual mule soft meetup may_2020
Virtual MuleSoft Meetup may_2020
Exception handling basics in mule
Mulesoft meetup slides mumbai_20113019_exception_handling
Mule error handling_choice exception strategy
Mule exception handlingstrategies
Mule error handling_rollback exception strategy
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ad

More from Swapnil Sahu (8)

PPTX
A short introduction on mule expression language
PPTX
A short introduction on anypoint scopes
PPTX
A short introduction on anypoint transformers
PPTX
A short introduction on anypoint studio routers
PPTX
Mule Filters
PPTX
Anypoint Components
PPTX
Anypoint Connectors
PPTX
A Short Introduction of Mule ESB
A short introduction on mule expression language
A short introduction on anypoint scopes
A short introduction on anypoint transformers
A short introduction on anypoint studio routers
Mule Filters
Anypoint Components
Anypoint Connectors
A Short Introduction of Mule ESB
Ad

Recently uploaded (20)

PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Nekopoi APK 2025 free lastest update
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
ai tools demonstartion for schools and inter college
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Transform Your Business with a Software ERP System
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
history of c programming in notes for students .pptx
PDF
Digital Strategies for Manufacturing Companies
PDF
medical staffing services at VALiNTRY
Which alternative to Crystal Reports is best for small or large businesses.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Nekopoi APK 2025 free lastest update
Softaken Excel to vCard Converter Software.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Odoo Companies in India – Driving Business Transformation.pdf
Odoo POS Development Services by CandidRoot Solutions
CHAPTER 2 - PM Management and IT Context
VVF-Customer-Presentation2025-Ver1.9.pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
ai tools demonstartion for schools and inter college
PTS Company Brochure 2025 (1).pdf.......
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Transform Your Business with a Software ERP System
2025 Textile ERP Trends: SAP, Odoo & Oracle
How Creative Agencies Leverage Project Management Software.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
history of c programming in notes for students .pptx
Digital Strategies for Manufacturing Companies
medical staffing services at VALiNTRY

A short introduction on error handling in anypoint studio

  • 1. A Short Introduction on Error Handing in Anypoint Platform By – Swapnil Sahu
  • 2. Error Handling in Mule Mule provides numerous options for handling errors. Faults that occur within Mule are referred to as exceptions; when an activity in your Mule instance fails, Mule throws an exception. To manage these exceptions, Mule allows you to configure exception strategies.
  • 3. Types of Exceptions From a high level perspective, errors that occur in Mule fall into one of two categories: • System Exceptions • Messaging Exceptions.
  • 4. System Exceptions Mule invokes a System Exception Strategy when an exception is thrown at the system- level (i.e., when no message is involved, exceptions are handled by system exception strategies). When a system exception strategy occurs, Mule sends an exception notification to registered listeners, logs the exception, and if the exception was caused by a connection failure executes the reconnection strategy. System Exception Strategies are not configurable in Mule.
  • 5. Messaging Exceptions Mule invokes a Messaging Exception Strategy whenever an exception is thrown within a flow (i.e., whenever a message is involved, exceptions are handled by messaging exception strategies). When a message being processed through a Mule flow throws an exception, normal flow execution stops and processes transfers to the message processor sequence within the exception strategy. You can incorporate any number of message processors and in one case, other exception strategies into an exception strategy to handle the exception precisely as you wish
  • 6. Types of Exception Strategies
  • 7. Characteristics of Messaging Exception Strategies • Each flow can contain only one exception strategy. However this can be a choice exception strategy that then refers to other nested exception strategies. • Choice exception strategies can contain one or more catch and/or rollback exception strategies. (Rollback and catch exception strategies cannot, however, contain other exception strategies.) • Each exception strategy can contain any number of message processors. • The exception strategy message processors should not throw exceptions, because you cannot create a nested exception strategy for these message processors.