Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0-RC2
-
Fix Version/s: 2.0.0
-
Component/s: Core: Exception Handling
-
Labels:None
-
User impact:High
-
Similar Issues:
MULE-5899As a user I want much improved documentation for Mule 3.1/3.2 on how to configure the default-exception-strategy element to achieve common use casesMULE-5731"default-service-exception-strategy" is permitted in flowsMULE-5738When configuring <default-exception-strategy> inbound transaction is committed by default when no commit or rollback pattern is configuredMULE-14Default exception strategy on the ModelMULE-4341Transformerconfigured on an endpoint in exception-strategy are ignored
MULE-4515 default-service-exception-strategy does not honor exception-type-filter
MULE-5895 As a user I want to be able to define a custom default exception strategy that is used when a a flow or service does not define one explicitlyMULE-4640Unify default connector and service exception strategy or limit configurationMULE-3196default-connector-exception-strategy should not be able to be configured on model should it?MULE-4632Configuring default-service-exception-strategy on connector throws NullPointerException
Description
Add a couple of configuration params to the default-component-exception-strategy for
- rolling back the current transaction or not
- firing JMX exception notifications (see MULE-3127)
Long overdue
Let's bring the rollback rules a step forward and allow for a fine-grained control based on the exception type (I think there were 4 availabe, e.g. handleRoutingException, handleMessagingException, etc). Not sure if we want to go as fas as allowing per-exception class granularity, as e.g. spring transaction config allows, like -RoutingException (minus in front would mean rollback), MyCustomException ( would still mean a commit if this exception is the cause). Comments are welcome.