MuleESB / Akka interview questions
Different supervision strategies.
- OneForOneStrategy (default).
- AllForOneStrategy.
Both are configured with a mapping from exception type to supervision directive. The difference is OneForOneStrategy applies directive only to the failed child while AllForOneStraegy applies to all siblings.
The AllForOneStrategy is applicable in cases where the ensemble of children has such tight dependencies among them, that a failure of one child affects the function of the others.
More Related questions...