The until-successful
router is an asynchronous one, i.e. elements after it will execute right away and exceptions happening inside of it will not be propagated outside of it.
To solve your problem, configure a deadLetterQueue
endpoint on it so that failed messages end up sent to errorQueue
.
Read more about until-successful
in the user guide: http://www.mulesoft.org/documentation/display/current/Until+Successful+Scope