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 java.lang.Object implements org.springframework.context.SmartLifecycle
-
-
Constructor Summary
Constructors Constructor Description MessageLogConsumerContainer(java.lang.String messageLogBeanName, ChannelPosition startFrom, org.springframework.context.ApplicationContext applicationContext)
-
-
-
Constructor Detail
-
MessageLogConsumerContainer
public MessageLogConsumerContainer(java.lang.String messageLogBeanName, ChannelPosition startFrom, org.springframework.context.ApplicationContext applicationContext)
-
-
Method Detail
-
isAutoStartup
public boolean isAutoStartup()
- Specified by:
isAutoStartupin interfaceorg.springframework.context.SmartLifecycle
-
stop
public void stop(java.lang.Runnable callback)
- 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
-
-