java - Mule default catch exception and stopping a flow -


i created default catch exception in mule executed whenever error thrown in flow. however, seems once end of exception reached (i run couple components in it), execution of flow resumes point, expectable since error caught. i'd like, however, have execution of flow stop if catch exception triggered. way found add error filter main flow, seems temporary solution, since have add error filter after each element of flow have intended result.

in exception strategy add scripting component stop flow:

 <scripting:component doc:name="script">         <scripting:script engine="groovy"><![cdata[             mulecontext.getregistry().get('<flow_name>').stop()         ]]></scripting:script>     </scripting:component> 

Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -