SlideShare a Scribd company logo
1 of 9
Mule Exception Strategies
Mule fall into one of two
tupes: System Exceptions,
and Messaging Exceptions.
• Mule’s default exception strategy — which
implicitly applies to all Mule applications —
manages errors (such as, thrown exceptions)
in Mule flows.
• Implicitly applied by default to handle all
messaging exceptions that are thrown in Mule
applications
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 at start-up
• connection to an external system fails
Catch exception strategy
• Define a catch exception strategy to customize
the way Mule handles any exception. Catch
exception strategies consume inbound
messages, as opposed to rolling them back.
• When a system exception occurs, Mule sends
an exception notification to registered
listeners, logs the exception
• When a message being processed through a
Mule flow throws an exception, normal flow
execution stops. Mule transfers the message
to the message processor sequence within the
exception strategy.
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
messages.
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.
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 exception.
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.)
• You can create one or more global exception strategies to reuse in flows
throughout your entire Mule application.
• A Transactional Scope may include its own exception strategy, regardless
of what you define at Flow level

More Related Content

Viewers also liked

Press Clipping Killporn
Press Clipping KillpornPress Clipping Killporn
Press Clipping Killporndaudinh85
 
Content marketing tactics to grow traffic for your business
Content marketing tactics to grow traffic for your businessContent marketing tactics to grow traffic for your business
Content marketing tactics to grow traffic for your businessLetitiah Obiri
 
ROEL group of companies is a private Russian multiproduct corporation working...
ROEL group of companies is a private Russian multiproduct corporation working...ROEL group of companies is a private Russian multiproduct corporation working...
ROEL group of companies is a private Russian multiproduct corporation working...velaskarii
 
Inventos debido a los avances espaciales
Inventos debido a los avances espacialesInventos debido a los avances espaciales
Inventos debido a los avances espacialesEmma Poláková
 
Beyond The Web: Drupal Meets The Desktop (And Mobile)
Beyond The Web: Drupal Meets The Desktop (And Mobile)Beyond The Web: Drupal Meets The Desktop (And Mobile)
Beyond The Web: Drupal Meets The Desktop (And Mobile)Justin Miller
 
Wc1307 h mi concepts & systems review-preview
Wc1307   h mi concepts & systems  review-previewWc1307   h mi concepts & systems  review-preview
Wc1307 h mi concepts & systems review-previewMaria Willamowius
 
Sony laptop battery
Sony laptop batterySony laptop battery
Sony laptop batterycorporatt54
 
Listino Prezzi Volkswagen Tiguan 2017
Listino Prezzi Volkswagen Tiguan 2017Listino Prezzi Volkswagen Tiguan 2017
Listino Prezzi Volkswagen Tiguan 2017Autoblog.it
 
Avances científicos debido a la carrera espacial.
Avances científicos debido a la carrera espacial.Avances científicos debido a la carrera espacial.
Avances científicos debido a la carrera espacial.Diana Balukh
 
Operators in mule dataweave
Operators in mule dataweaveOperators in mule dataweave
Operators in mule dataweaveRamakrishna kapa
 
Big win for reforms after loss in bihar
Big win for reforms after loss in biharBig win for reforms after loss in bihar
Big win for reforms after loss in biharSaxbee Consultants
 
Turbo charger complete prensation
Turbo charger complete prensationTurbo charger complete prensation
Turbo charger complete prensationSwapnil Vhotkar
 

Viewers also liked (16)

Press Clipping Killporn
Press Clipping KillpornPress Clipping Killporn
Press Clipping Killporn
 
(54)
(54)(54)
(54)
 
Content marketing tactics to grow traffic for your business
Content marketing tactics to grow traffic for your businessContent marketing tactics to grow traffic for your business
Content marketing tactics to grow traffic for your business
 
Circuitos ii
Circuitos iiCircuitos ii
Circuitos ii
 
ROEL group of companies is a private Russian multiproduct corporation working...
ROEL group of companies is a private Russian multiproduct corporation working...ROEL group of companies is a private Russian multiproduct corporation working...
ROEL group of companies is a private Russian multiproduct corporation working...
 
Inventos debido a los avances espaciales
Inventos debido a los avances espacialesInventos debido a los avances espaciales
Inventos debido a los avances espaciales
 
Beyond The Web: Drupal Meets The Desktop (And Mobile)
Beyond The Web: Drupal Meets The Desktop (And Mobile)Beyond The Web: Drupal Meets The Desktop (And Mobile)
Beyond The Web: Drupal Meets The Desktop (And Mobile)
 
Wc1307 h mi concepts & systems review-preview
Wc1307   h mi concepts & systems  review-previewWc1307   h mi concepts & systems  review-preview
Wc1307 h mi concepts & systems review-preview
 
Sony laptop battery
Sony laptop batterySony laptop battery
Sony laptop battery
 
Data weave in mule
Data weave in muleData weave in mule
Data weave in mule
 
Listino Prezzi Volkswagen Tiguan 2017
Listino Prezzi Volkswagen Tiguan 2017Listino Prezzi Volkswagen Tiguan 2017
Listino Prezzi Volkswagen Tiguan 2017
 
Avances científicos debido a la carrera espacial.
Avances científicos debido a la carrera espacial.Avances científicos debido a la carrera espacial.
Avances científicos debido a la carrera espacial.
 
Operators in mule dataweave
Operators in mule dataweaveOperators in mule dataweave
Operators in mule dataweave
 
Big win for reforms after loss in bihar
Big win for reforms after loss in biharBig win for reforms after loss in bihar
Big win for reforms after loss in bihar
 
Turbo charger complete prensation
Turbo charger complete prensationTurbo charger complete prensation
Turbo charger complete prensation
 
Tigers profile
Tigers profileTigers profile
Tigers profile
 

Similar to Mule exception strategies

Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategiesKrishna_in
 
Mule concepts exception strategies
Mule concepts exception strategiesMule concepts exception strategies
Mule concepts exception strategieskunal vishe
 
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 handling Mule - error handling
Mule - error handling Sindhu VL
 
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_choice exception strategy
Mule error handling_choice exception strategyMule error handling_choice exception strategy
Mule error handling_choice exception strategykunal vishe
 
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
 
Muleflowarchitecturepart2
Muleflowarchitecturepart2Muleflowarchitecturepart2
Muleflowarchitecturepart2vijaynerd
 
Mule exception strategies - Reference Exception Strategy
Mule exception strategies - Reference Exception StrategyMule exception strategies - Reference Exception Strategy
Mule exception strategies - Reference Exception StrategyAnkush Sharma
 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVikalp Bhalia
 
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
 
Mule filters
Mule filtersMule filters
Mule filterskrishashi
 
1st Feb 2020 MuleSoft Meetup
1st Feb 2020 MuleSoft Meetup1st Feb 2020 MuleSoft Meetup
1st Feb 2020 MuleSoft MeetupPankaj Goyal
 

Similar to Mule exception strategies (20)

Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategies
 
Mule concepts exception strategies
Mule concepts exception strategiesMule concepts exception strategies
Mule concepts exception strategies
 
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 handling Mule - error handling
Mule - error handling
 
Mule errors
Mule errorsMule errors
Mule errors
 
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 error handling_choice exception strategy
Mule error handling_choice exception strategyMule error handling_choice exception strategy
Mule error handling_choice exception strategy
 
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
 
Muleflowarchitecturepart2
Muleflowarchitecturepart2Muleflowarchitecturepart2
Muleflowarchitecturepart2
 
Mule exception strategies - Reference Exception Strategy
Mule exception strategies - Reference Exception StrategyMule exception strategies - Reference Exception Strategy
Mule exception strategies - Reference Exception Strategy
 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-july
 
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
 
Mule filters
Mule filtersMule filters
Mule filters
 
1st Feb 2020 MuleSoft Meetup
1st Feb 2020 MuleSoft Meetup1st Feb 2020 MuleSoft Meetup
1st Feb 2020 MuleSoft Meetup
 
Mule esb overview
Mule esb overviewMule esb overview
Mule esb overview
 

More from Ramakrishna kapa

More from Ramakrishna kapa (20)

Load balancer in mule
Load balancer in muleLoad balancer in mule
Load balancer in mule
 
Anypoint connectors
Anypoint connectorsAnypoint connectors
Anypoint connectors
 
Batch processing
Batch processingBatch processing
Batch processing
 
Msmq connectivity
Msmq connectivityMsmq connectivity
Msmq connectivity
 
Scopes in mule
Scopes in muleScopes in mule
Scopes in mule
 
Data weave more operations
Data weave more operationsData weave more operations
Data weave more operations
 
Basic math operations using dataweave
Basic math operations using dataweaveBasic math operations using dataweave
Basic math operations using dataweave
 
Dataweave types operators
Dataweave types operatorsDataweave types operators
Dataweave types operators
 
Servicenow connector
Servicenow connectorServicenow connector
Servicenow connector
 
Introduction to testing mule
Introduction to testing muleIntroduction to testing mule
Introduction to testing mule
 
Choice flow control
Choice flow controlChoice flow control
Choice flow control
 
Message enricher example
Message enricher exampleMessage enricher example
Message enricher example
 
Anypoint connector basics
Anypoint connector basicsAnypoint connector basics
Anypoint connector basics
 
Mule global elements
Mule global elementsMule global elements
Mule global elements
 
Mule message structure and varibles scopes
Mule message structure and varibles scopesMule message structure and varibles scopes
Mule message structure and varibles scopes
 
How to create an api in mule
How to create an api in muleHow to create an api in mule
How to create an api in mule
 
Log4j is a reliable, fast and flexible
Log4j is a reliable, fast and flexibleLog4j is a reliable, fast and flexible
Log4j is a reliable, fast and flexible
 
Jsf 2
Jsf 2Jsf 2
Jsf 2
 
Vi editor
Vi editorVi editor
Vi editor
 
Jsoup tutorial
Jsoup tutorialJsoup tutorial
Jsoup tutorial
 

Recently uploaded

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

Mule exception strategies

  • 1. Mule Exception Strategies Mule fall into one of two tupes: System Exceptions, and Messaging Exceptions.
  • 2. • Mule’s default exception strategy — which implicitly applies to all Mule applications — manages errors (such as, thrown exceptions) in Mule flows. • Implicitly applied by default to handle all messaging exceptions that are thrown in Mule applications
  • 3. 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 at start-up • connection to an external system fails
  • 4. Catch exception strategy • Define a catch exception strategy to customize the way Mule handles any exception. Catch exception strategies consume inbound messages, as opposed to rolling them back.
  • 5. • When a system exception occurs, Mule sends an exception notification to registered listeners, logs the exception • When a message being processed through a Mule flow throws an exception, normal flow execution stops. Mule transfers the message to the message processor sequence within the exception strategy.
  • 6. 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 messages.
  • 7. 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.
  • 8. 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 exception.
  • 9. 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.) • You can create one or more global exception strategies to reuse in flows throughout your entire Mule application. • A Transactional Scope may include its own exception strategy, regardless of what you define at Flow level