The class phekheij.Tllas
implements MuleContextNotificationListener
so that it can be run before everything else defined in Mule config:
...
<spring:beans>
<spring:bean id="initializer" class="phekheij.Tllas" />
</spring:beans>
<notifications>
<notification event="CONTEXT" />
<notification-listener ref="initializer" />
</notifications>
...
What do I have to do so that Mule does not continue running given some condition, for example, when an exception is thrown from inside that class?