public interface SuspendableService extends Service
Servicewhich is also capable of suspending and resuming. This is useable for services which needs more fine grained control at runtime supporting suspension. Other services may select to mimic suspending by just stopping the service. For example this is use by the JmsConsumer which suspends the Spring JMS listener instead of stopping the consumer totally.
Exception- is thrown if suspending failed
Exception- is thrown if resuming failed