Class CaseDefault

  • All Implemented Interfaces:
    ComponentLifecycle, Condition

    @ComponentProfile(summary="condition that is always true.",
                      tag="condition",
                      since="3.9.0")
    public class CaseDefault
    extends java.lang.Object
    implements Condition
    Condition that is always true.

    The use case for this is to simulate the 'default' branch of a Switch service; add this conditional as the last Condition configuration in your Switch service to have a default set of services that are executed.

    In the adapter configuration file this class is aliased as case-default which is the preferred alternative to the fully qualified classname when building your configuration.