Class BlockingChannelLifecycleStrategy

  • All Implemented Interfaces:
    ChannelLifecycleStrategy

    public class BlockingChannelLifecycleStrategy
    extends DefaultChannelLifecycleStrategy
    Blocking strategy for starting channels.

    Functionally it is equivalent to DefaultChannelLifecycleStrategy; however each channel operation is performed in its own Thread which is named after the Channel's unique id. It may be of use for logging purposes when attempting to start (or stop) many channels.

    In the adapter configuration file this class is aliased as blocking-channel-lifecycle-strategy which is the preferred alternative to the fully qualified classname when building your configuration.