Class MessageLogConsumerContainer
java.lang.Object
de.otto.synapse.endpoint.receiver.MessageLogConsumerContainer
- All Implemented Interfaces:
org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
public class MessageLogConsumerContainer
extends Object
implements org.springframework.context.SmartLifecycle
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionMessageLogConsumerContainer(String messageLogBeanName, ChannelPosition startFrom, org.springframework.context.ApplicationContext applicationContext) -
Method Summary
-
Constructor Details
-
MessageLogConsumerContainer
public MessageLogConsumerContainer(String messageLogBeanName, ChannelPosition startFrom, org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
isAutoStartup
public boolean isAutoStartup()- Specified by:
isAutoStartupin interfaceorg.springframework.context.SmartLifecycle
-
stop
- Specified by:
stopin interfaceorg.springframework.context.SmartLifecycle
-
getPhase
public int getPhase()- Specified by:
getPhasein interfaceorg.springframework.context.Phased- Specified by:
getPhasein interfaceorg.springframework.context.SmartLifecycle
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()Check whether this component is currently running.In the case of a container, this will return
trueonly if all components that apply are currently running.- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle- Returns:
- whether the component is currently running
-