SlideShare a Scribd company logo
1 of 14
MULE - ERROR HANDLING
Presented By
Sindhu VL
๏‚จ Mule ESB 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
configureexception strategies.
Default exception strategy
๏‚จ It implicitly applies to all Mule applications โ€” manages errors
(i.e. thrown exceptions) in Mule flows. When your flows
require more sophisticated error management, you can
implement one or more exception strategies to construct
precise, efficient protocols for handling errors.
๏‚จ Mule ESBโ€™s default exception strategy implicitly and globally
handles all messaging exceptions that are thrown in Mule
applications. You can override Muleโ€™s default exception
strategy by adding a catch, rollback, or choice exception
strategy to a flow. Otherwise, when an exception is thrown in
a flow, Mule automatically rolls back any pending transaction
and logs the exception; if no transaction is involved, the
default exception strategy simply logs the exception.
Error Types :
1. 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). For example, system
exception strategies handle exceptions that
occur:
๏ถ During application start-up
๏ถ When a connection to an external system fails
๏‚จ 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 messagingexception
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. The diagram below illustrates what
happens when a message throws an exception.
Messaging Exceptions Flow :
Types of messaging exception
strategies :
๏‚จ Default Exception Strategy
๏‚จ Catch exception strategy
๏‚จ Rollback exception strategy
๏‚จ Reference exception strategy
๏‚จ Choice exception strategy
Default Exception Strategy :
๏‚จ Defined and
implicitly applied by
default to handle all
messaging
exceptions that are
thrown in Mule
applications
๏‚จ When a message
throws an exception,
the default
exception strategy
rolls back the
message and logs
the exception.
Use : Transaction Error Handling :
Catch Exception Strategy :
๏‚จ When a message
throws an exception,
the default
exception strategy
rolls back the
message and logs
the exception.
๏‚จ When a message
throws an exception,
the catch exception
strategyalways com
mits the transaction
and consumes the
message.
Use : Transaction Error Handling :
Rollback Exception Strategy :
๏‚จ Define a rollback
exception strategy to
ensure that a
message that throws
an exception in a flow
is rolled back for
reprocessing (if the
message source
supports redelivery).
Rollback exception
strategies do not
consume inbound
๏‚จ When a message
throws an exception,
the rollback exception
strategy makes one or
more attempts to
rollback the message
and redeliver it for
processing (if the
message source
supports redelivery). If
the message exceeds
its redelivery attempts,
Use : Transaction Error Handling :
Reference Exception Strategy :
๏‚จ Define a reference
exception strategy
to refer and adhere
to the error handling
parameters defined
in a global catch,
rollback or choice
exception strategy.
๏‚จ When a message
throws an exception,
the reference
exception strategy
refers and adheres to
the error handling
parameters defined in
a global catch,
rollback or choice
exception strategy.
(The reference
exception strategy
itself never actually
Use : Transaction Error Handling :
Choice Exception Strategy :
๏‚จ Define a choice
exception strategy
to customize the
way Mule handles a
message that
throws an exception
based on the
messageโ€™s content
at the moment it
throws the
๏‚จ When a message
throws an exception,
the choice exception
strategy makes a
decision about
where to route the
message for further
processing. (The
choice exception
strategy itself never
actually performs
Use : Transaction Error Handling :
Characteristics of messaging
exception strategies:
๏‚จ Each flow can contain only one exception
strategy.
๏‚จ Each exception strategy can contain any
number of message processors.
๏‚จ 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.)
Thank You!!!!!!!!!!!!

More Related Content

What's hot

Mule exception strategies - Reference Exception Strategy
Mule exception strategies - Reference Exception StrategyMule exception strategies - Reference Exception Strategy
Mule exception strategies - Reference Exception StrategyAnkush Sharma
ย 
A short introduction on error handling in anypoint studio
A short introduction on error handling in anypoint studioA short introduction on error handling in anypoint studio
A short introduction on error handling in anypoint studioSwapnil Sahu
ย 
Anypoint Studio - Mule ESB Error Handling
Anypoint Studio - Mule ESB Error HandlingAnypoint Studio - Mule ESB Error Handling
Anypoint Studio - Mule ESB Error HandlingMani Rathnam Gudi
ย 
Mule error handling
Mule error handlingMule error handling
Mule error handlingVirtusaPolaris
ย 
Mule exception strategies - Choice Exception Strategy
Mule exception strategies - Choice Exception StrategyMule exception strategies - Choice Exception Strategy
Mule exception strategies - Choice Exception StrategyAnkush Sharma
ย 
Mule filters
Mule filtersMule filters
Mule filterskrishashi
ย 

What's hot (6)

Mule exception strategies - Reference Exception Strategy
Mule exception strategies - Reference Exception StrategyMule exception strategies - Reference Exception Strategy
Mule exception strategies - Reference Exception Strategy
ย 
A short introduction on error handling in anypoint studio
A short introduction on error handling in anypoint studioA short introduction on error handling in anypoint studio
A short introduction on error handling in anypoint studio
ย 
Anypoint Studio - Mule ESB Error Handling
Anypoint Studio - Mule ESB Error HandlingAnypoint Studio - Mule ESB Error Handling
Anypoint Studio - Mule ESB Error Handling
ย 
Mule error handling
Mule error handlingMule error handling
Mule error handling
ย 
Mule exception strategies - Choice Exception Strategy
Mule exception strategies - Choice Exception StrategyMule exception strategies - Choice Exception Strategy
Mule exception strategies - Choice Exception Strategy
ย 
Mule filters
Mule filtersMule filters
Mule filters
ย 

Viewers also liked

Mule ESB - Integration Simplified
Mule ESB - Integration SimplifiedMule ESB - Integration Simplified
Mule ESB - Integration SimplifiedRich Software
ย 
Mule securing
Mule   securingMule   securing
Mule securingSindhu VL
ย 
Mule ESB Tutorial Part 2
Mule ESB Tutorial Part 2Mule ESB Tutorial Part 2
Mule ESB Tutorial Part 2Srikanth N
ย 
Data weave documentation
Data weave documentationData weave documentation
Data weave documentationSindhu VL
ย 
Mule ESB Tutorial Part 1
Mule ESB Tutorial Part 1Mule ESB Tutorial Part 1
Mule ESB Tutorial Part 1Srikanth N
ย 
Application Architecture: The Next Wave | MuleSoft
Application Architecture: The Next Wave | MuleSoftApplication Architecture: The Next Wave | MuleSoft
Application Architecture: The Next Wave | MuleSoftMuleSoft
ย 
Mule batch processing
Mule  batch processingMule  batch processing
Mule batch processinghimajareddys
ย 
Mule batch processing
Mule batch processingMule batch processing
Mule batch processingRavinder Singh
ย 
Mule and web services
Mule and web servicesMule and web services
Mule and web servicesvenureddymasu
ย 
Security components in mule esb
Security components in mule esbSecurity components in mule esb
Security components in mule esbhimajareddys
ย 
Integration patterns in muleesb
Integration patterns in muleesbIntegration patterns in muleesb
Integration patterns in muleesbhimajareddys
ย 
Mule architecture styles
Mule architecture stylesMule architecture styles
Mule architecture styleshimajareddys
ย 
Expression language in mule
Expression language in muleExpression language in mule
Expression language in muleSon Nguyen
ย 
Encrypt The Mule Message With Anypoint JCE and XML Encrypter
Encrypt The Mule Message With Anypoint JCE and XML EncrypterEncrypt The Mule Message With Anypoint JCE and XML Encrypter
Encrypt The Mule Message With Anypoint JCE and XML EncrypterJitendra Bafna
ย 

Viewers also liked (20)

Mule ESB Fundamentals
Mule ESB FundamentalsMule ESB Fundamentals
Mule ESB Fundamentals
ย 
Mule ESB - Integration Simplified
Mule ESB - Integration SimplifiedMule ESB - Integration Simplified
Mule ESB - Integration Simplified
ย 
Mule securing
Mule   securingMule   securing
Mule securing
ย 
Mule ESB Tutorial Part 2
Mule ESB Tutorial Part 2Mule ESB Tutorial Part 2
Mule ESB Tutorial Part 2
ย 
Data weave documentation
Data weave documentationData weave documentation
Data weave documentation
ย 
Mule esb presentation
Mule esb presentationMule esb presentation
Mule esb presentation
ย 
Mulesoft ppt
Mulesoft pptMulesoft ppt
Mulesoft ppt
ย 
Mule ESB Tutorial Part 1
Mule ESB Tutorial Part 1Mule ESB Tutorial Part 1
Mule ESB Tutorial Part 1
ย 
Application Architecture: The Next Wave | MuleSoft
Application Architecture: The Next Wave | MuleSoftApplication Architecture: The Next Wave | MuleSoft
Application Architecture: The Next Wave | MuleSoft
ย 
Simple Poll in Mule
Simple Poll in MuleSimple Poll in Mule
Simple Poll in Mule
ย 
Mule batch processing
Mule  batch processingMule  batch processing
Mule batch processing
ย 
Mule batch processing
Mule batch processingMule batch processing
Mule batch processing
ย 
Mule and web services
Mule and web servicesMule and web services
Mule and web services
ย 
Security components in mule esb
Security components in mule esbSecurity components in mule esb
Security components in mule esb
ย 
Integration patterns in muleesb
Integration patterns in muleesbIntegration patterns in muleesb
Integration patterns in muleesb
ย 
Mule batch job
Mule batch jobMule batch job
Mule batch job
ย 
Mule architecture styles
Mule architecture stylesMule architecture styles
Mule architecture styles
ย 
Expression language in mule
Expression language in muleExpression language in mule
Expression language in mule
ย 
Data weave in Mule
Data weave in MuleData weave in Mule
Data weave in Mule
ย 
Encrypt The Mule Message With Anypoint JCE and XML Encrypter
Encrypt The Mule Message With Anypoint JCE and XML EncrypterEncrypt The Mule Message With Anypoint JCE and XML Encrypter
Encrypt The Mule Message With Anypoint JCE and XML Encrypter
ย 

Similar to Mule - error handling

Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategiesRamakrishna kapa
ย 
Exception strategies in MuleSoft Anypoint Studio
Exception strategies in MuleSoft Anypoint StudioException strategies in MuleSoft Anypoint Studio
Exception strategies in MuleSoft Anypoint StudioJitendra Bafna
ย 
Handle exceptions in mule
Handle exceptions in muleHandle exceptions in mule
Handle exceptions in muleSon Nguyen
ย 
Mule error handling
Mule error handlingMule error handling
Mule error handlingKarthik Selvaraj
ย 
Mule exception strategies - Catch exception strategy
Mule exception strategies - Catch exception strategyMule exception strategies - Catch exception strategy
Mule exception strategies - Catch exception strategyAnkush Sharma
ย 
Mule error handling
Mule  error handlingMule  error handling
Mule error handlingchandu1443
ย 
Mule error handling_rollback exception strategy
Mule error handling_rollback exception strategyMule error handling_rollback exception strategy
Mule error handling_rollback exception strategykunal vishe
ย 
Mule exception handlingstrategies
Mule exception handlingstrategiesMule exception handlingstrategies
Mule exception handlingstrategiesD.Rajesh Kumar
ย 
Exception handling basics in mule
Exception handling basics in muleException handling basics in mule
Exception handling basics in mulehimajareddys
ย 
Synchronous verses asynchronous processing strategy in mule esb
Synchronous verses asynchronous processing strategy in mule esbSynchronous verses asynchronous processing strategy in mule esb
Synchronous verses asynchronous processing strategy in mule esbVishnuAnji
ย 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVikalp Bhalia
ย 
Elements in a muleflow
Elements in a muleflowElements in a muleflow
Elements in a muleflowThang Loi
ย 
Elements in a mule flow
Elements in a mule flowElements in a mule flow
Elements in a mule flowSindhu VL
ย 
Mule esb flow processing strategies
Mule esb flow processing strategiesMule esb flow processing strategies
Mule esb flow processing strategieshimajareddys
ย 
Mule scopes&error handling
Mule scopes&error handlingMule scopes&error handling
Mule scopes&error handlingSumit Gole
ย 
Mulesoft filters
Mulesoft filtersMulesoft filters
Mulesoft filtersvijaykkiran
ย 
Mule Scatter-Gather component
Mule Scatter-Gather componentMule Scatter-Gather component
Mule Scatter-Gather componentAnkush Sharma
ย 
Mulesoft debug
Mulesoft debugMulesoft debug
Mulesoft debugkeshav Naidu
ย 

Similar to Mule - error handling (20)

Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategies
ย 
Exception strategies in MuleSoft Anypoint Studio
Exception strategies in MuleSoft Anypoint StudioException strategies in MuleSoft Anypoint Studio
Exception strategies in MuleSoft Anypoint Studio
ย 
Handle exceptions in mule
Handle exceptions in muleHandle exceptions in mule
Handle exceptions in mule
ย 
Mule exceptions Strategy
Mule exceptions StrategyMule exceptions Strategy
Mule exceptions Strategy
ย 
Mule error handling
Mule error handlingMule error handling
Mule error handling
ย 
Mule exception strategies - Catch exception strategy
Mule exception strategies - Catch exception strategyMule exception strategies - Catch exception strategy
Mule exception strategies - Catch exception strategy
ย 
Mule error handling
Mule  error handlingMule  error handling
Mule error handling
ย 
Mule error handling_rollback exception strategy
Mule error handling_rollback exception strategyMule error handling_rollback exception strategy
Mule error handling_rollback exception strategy
ย 
Mule exception handlingstrategies
Mule exception handlingstrategiesMule exception handlingstrategies
Mule exception handlingstrategies
ย 
Exception handling basics in mule
Exception handling basics in muleException handling basics in mule
Exception handling basics in mule
ย 
Synchronous verses asynchronous processing strategy in mule esb
Synchronous verses asynchronous processing strategy in mule esbSynchronous verses asynchronous processing strategy in mule esb
Synchronous verses asynchronous processing strategy in mule esb
ย 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-july
ย 
Online Spanish meetup #1
Online Spanish meetup #1Online Spanish meetup #1
Online Spanish meetup #1
ย 
Elements in a muleflow
Elements in a muleflowElements in a muleflow
Elements in a muleflow
ย 
Elements in a mule flow
Elements in a mule flowElements in a mule flow
Elements in a mule flow
ย 
Mule esb flow processing strategies
Mule esb flow processing strategiesMule esb flow processing strategies
Mule esb flow processing strategies
ย 
Mule scopes&error handling
Mule scopes&error handlingMule scopes&error handling
Mule scopes&error handling
ย 
Mulesoft filters
Mulesoft filtersMulesoft filters
Mulesoft filters
ย 
Mule Scatter-Gather component
Mule Scatter-Gather componentMule Scatter-Gather component
Mule Scatter-Gather component
ย 
Mulesoft debug
Mulesoft debugMulesoft debug
Mulesoft debug
ย 

More from Sindhu VL

Mule - beginners guide
Mule - beginners guideMule - beginners guide
Mule - beginners guideSindhu VL
ย 
Core concepts - mule
Core concepts - muleCore concepts - mule
Core concepts - muleSindhu VL
ย 
Core concepts in mule
Core concepts in muleCore concepts in mule
Core concepts in muleSindhu VL
ย 
Basics of mule for beginners
Basics of mule for beginnersBasics of mule for beginners
Basics of mule for beginnersSindhu VL
ย 
Mule testing
Mule   testingMule   testing
Mule testingSindhu VL
ย 
Mule debugging
Mule   debuggingMule   debugging
Mule debuggingSindhu VL
ย 
Service orchestration by using flows
Service orchestration by using flowsService orchestration by using flows
Service orchestration by using flowsSindhu VL
ย 
Configuration patterns in mule
Configuration patterns in muleConfiguration patterns in mule
Configuration patterns in muleSindhu VL
ย 
Bindings of components in mule
Bindings of components in muleBindings of components in mule
Bindings of components in muleSindhu VL
ย 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with muleSindhu VL
ย 
Using mule configuration patterns
Using mule configuration patternsUsing mule configuration patterns
Using mule configuration patternsSindhu VL
ย 
Using flows for service orchestration
Using flows for service orchestrationUsing flows for service orchestration
Using flows for service orchestrationSindhu VL
ย 
Component bindings in mule
Component bindings in muleComponent bindings in mule
Component bindings in muleSindhu VL
ย 
Mule requestor component
Mule requestor componentMule requestor component
Mule requestor componentSindhu VL
ย 
Encrption in mule
Encrption in muleEncrption in mule
Encrption in muleSindhu VL
ย 
Concepts in mule
Concepts in muleConcepts in mule
Concepts in muleSindhu VL
ย 
Enterprise service bus mule
Enterprise service bus  muleEnterprise service bus  mule
Enterprise service bus muleSindhu VL
ย 
Groovy component
Groovy componentGroovy component
Groovy componentSindhu VL
ย 
Working of mule
Working of muleWorking of mule
Working of muleSindhu VL
ย 
Mule esb for beginners
Mule esb for beginnersMule esb for beginners
Mule esb for beginnersSindhu VL
ย 

More from Sindhu VL (20)

Mule - beginners guide
Mule - beginners guideMule - beginners guide
Mule - beginners guide
ย 
Core concepts - mule
Core concepts - muleCore concepts - mule
Core concepts - mule
ย 
Core concepts in mule
Core concepts in muleCore concepts in mule
Core concepts in mule
ย 
Basics of mule for beginners
Basics of mule for beginnersBasics of mule for beginners
Basics of mule for beginners
ย 
Mule testing
Mule   testingMule   testing
Mule testing
ย 
Mule debugging
Mule   debuggingMule   debugging
Mule debugging
ย 
Service orchestration by using flows
Service orchestration by using flowsService orchestration by using flows
Service orchestration by using flows
ย 
Configuration patterns in mule
Configuration patterns in muleConfiguration patterns in mule
Configuration patterns in mule
ย 
Bindings of components in mule
Bindings of components in muleBindings of components in mule
Bindings of components in mule
ย 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
ย 
Using mule configuration patterns
Using mule configuration patternsUsing mule configuration patterns
Using mule configuration patterns
ย 
Using flows for service orchestration
Using flows for service orchestrationUsing flows for service orchestration
Using flows for service orchestration
ย 
Component bindings in mule
Component bindings in muleComponent bindings in mule
Component bindings in mule
ย 
Mule requestor component
Mule requestor componentMule requestor component
Mule requestor component
ย 
Encrption in mule
Encrption in muleEncrption in mule
Encrption in mule
ย 
Concepts in mule
Concepts in muleConcepts in mule
Concepts in mule
ย 
Enterprise service bus mule
Enterprise service bus  muleEnterprise service bus  mule
Enterprise service bus mule
ย 
Groovy component
Groovy componentGroovy component
Groovy component
ย 
Working of mule
Working of muleWorking of mule
Working of mule
ย 
Mule esb for beginners
Mule esb for beginnersMule esb for beginners
Mule esb for beginners
ย 

Recently uploaded

Case Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, PuneCase Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, PuneLukeKholes
ย 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation decktbatkhuu1
ย 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxsuhanimunjal27
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service ๐Ÿงต
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service  ๐ŸงตCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service  ๐Ÿงต
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service ๐Ÿงตanilsa9823
ย 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxTusharBahuguna2
ย 
Brookefield Call Girls: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bangalore...
Brookefield Call Girls: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bangalore...Brookefield Call Girls: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bangalore...
Brookefield Call Girls: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bangalore...amitlee9823
ย 
Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdshivubhavv
ย 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...home
ย 
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธCall Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธsoniya singh
ย 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...Call Girls in Nagpur High Profile
ย 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
ย 
Top Rated Pune Call Girls Koregaon Park โŸŸ 6297143586 โŸŸ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park โŸŸ 6297143586 โŸŸ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park โŸŸ 6297143586 โŸŸ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park โŸŸ 6297143586 โŸŸ Call Me For Genuine S...Call Girls in Nagpur High Profile
ย 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxjeswinjees
ย 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
ย 
2-tool presenthdbdbdbdbddhdhddation.pptx
2-tool presenthdbdbdbdbddhdhddation.pptx2-tool presenthdbdbdbdbddhdhddation.pptx
2-tool presenthdbdbdbdbddhdhddation.pptxsuhanimunjal27
ย 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
ย 
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...Delhi Call girls
ย 
DragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxDragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxmirandajeremy200221
ย 

Recently uploaded (20)

Case Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, PuneCase Study of Hotel Taj Vivanta, Pune
Case Study of Hotel Taj Vivanta, Pune
ย 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
ย 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptx
ย 
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Serviceyoung call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
young call girls in Pandav nagar ๐Ÿ” 9953056974 ๐Ÿ” Delhi escort Service
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service ๐Ÿงต
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service  ๐ŸงตCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service  ๐Ÿงต
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service ๐Ÿงต
ย 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
ย 
Brookefield Call Girls: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bangalore...
Brookefield Call Girls: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bangalore...Brookefield Call Girls: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bangalore...
Brookefield Call Girls: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bangalore...
ย 
Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcd
ย 
Call Girls Service Mukherjee Nagar @9999965857 Delhi ๐Ÿซฆ No Advance VVIP ๐ŸŽ SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi ๐Ÿซฆ No Advance  VVIP ๐ŸŽ SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi ๐Ÿซฆ No Advance  VVIP ๐ŸŽ SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi ๐Ÿซฆ No Advance VVIP ๐ŸŽ SER...
ย 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
ย 
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธCall Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
ย 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
ย 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
ย 
Top Rated Pune Call Girls Koregaon Park โŸŸ 6297143586 โŸŸ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park โŸŸ 6297143586 โŸŸ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park โŸŸ 6297143586 โŸŸ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park โŸŸ 6297143586 โŸŸ Call Me For Genuine S...
ย 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptx
ย 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
ย 
2-tool presenthdbdbdbdbddhdhddation.pptx
2-tool presenthdbdbdbdbddhdhddation.pptx2-tool presenthdbdbdbdbddhdhddation.pptx
2-tool presenthdbdbdbdbddhdhddation.pptx
ย 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
ย 
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
ย 
DragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxDragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptx
ย 

Mule - error handling

  • 1. MULE - ERROR HANDLING Presented By Sindhu VL
  • 2. ๏‚จ Mule ESB 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 configureexception strategies.
  • 3. Default exception strategy ๏‚จ It implicitly applies to all Mule applications โ€” manages errors (i.e. thrown exceptions) in Mule flows. When your flows require more sophisticated error management, you can implement one or more exception strategies to construct precise, efficient protocols for handling errors. ๏‚จ Mule ESBโ€™s default exception strategy implicitly and globally handles all messaging exceptions that are thrown in Mule applications. You can override Muleโ€™s default exception strategy by adding a catch, rollback, or choice exception strategy to a flow. Otherwise, when an exception is thrown in a flow, Mule automatically rolls back any pending transaction and logs the exception; if no transaction is involved, the default exception strategy simply logs the exception.
  • 4. Error Types : 1. 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). For example, system exception strategies handle exceptions that occur: ๏ถ During application start-up ๏ถ When a connection to an external system fails
  • 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 messagingexception 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. The diagram below illustrates what happens when a message throws an exception.
  • 7. Types of messaging exception strategies : ๏‚จ Default Exception Strategy ๏‚จ Catch exception strategy ๏‚จ Rollback exception strategy ๏‚จ Reference exception strategy ๏‚จ Choice exception strategy
  • 8. Default Exception Strategy : ๏‚จ Defined and implicitly applied by default to handle all messaging exceptions that are thrown in Mule applications ๏‚จ When a message throws an exception, the default exception strategy rolls back the message and logs the exception. Use : Transaction Error Handling :
  • 9. Catch Exception Strategy : ๏‚จ When a message throws an exception, the default exception strategy rolls back the message and logs the exception. ๏‚จ When a message throws an exception, the catch exception strategyalways com mits the transaction and consumes the message. Use : Transaction Error Handling :
  • 10. Rollback Exception Strategy : ๏‚จ Define a rollback exception strategy to ensure that a message that throws an exception in a flow is rolled back for reprocessing (if the message source supports redelivery). Rollback exception strategies do not consume inbound ๏‚จ When a message throws an exception, the rollback exception strategy makes one or more attempts to rollback the message and redeliver it for processing (if the message source supports redelivery). If the message exceeds its redelivery attempts, Use : Transaction Error Handling :
  • 11. Reference Exception Strategy : ๏‚จ Define a reference exception strategy to refer and adhere to the error handling parameters defined in a global catch, rollback or choice exception strategy. ๏‚จ When a message throws an exception, the reference exception strategy refers and adheres to the error handling parameters defined in a global catch, rollback or choice exception strategy. (The reference exception strategy itself never actually Use : Transaction Error Handling :
  • 12. Choice Exception Strategy : ๏‚จ Define a choice exception strategy to customize the way Mule handles a message that throws an exception based on the messageโ€™s content at the moment it throws the ๏‚จ When a message throws an exception, the choice exception strategy makes a decision about where to route the message for further processing. (The choice exception strategy itself never actually performs Use : Transaction Error Handling :
  • 13. Characteristics of messaging exception strategies: ๏‚จ Each flow can contain only one exception strategy. ๏‚จ Each exception strategy can contain any number of message processors. ๏‚จ 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.)