public class ExsMessageListenerContainer
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| 构造器和说明 |
|---|
ExsMessageListenerContainer(PollableExsMessageDispatcher messageDispatcher,
org.springframework.scheduling.TaskScheduler taskScheduler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
java.time.Duration |
getDelay() |
java.time.Duration |
getInitialDelay() |
PollableExsMessageDispatcher |
getMessageDispatcher() |
org.springframework.scheduling.TaskScheduler |
getTaskScheduler() |
boolean |
isAutoStart() |
void |
setAutoStart(boolean autoStart) |
void |
setDelay(java.time.Duration delay) |
void |
setInitialDelay(java.time.Duration initialDelay) |
void |
start() |
public ExsMessageListenerContainer(PollableExsMessageDispatcher messageDispatcher, org.springframework.scheduling.TaskScheduler taskScheduler)
public java.time.Duration getDelay()
public void setDelay(java.time.Duration delay)
public java.time.Duration getInitialDelay()
public void setInitialDelay(java.time.Duration initialDelay)
public boolean isAutoStart()
public void setAutoStart(boolean autoStart)
public PollableExsMessageDispatcher getMessageDispatcher()
public org.springframework.scheduling.TaskScheduler getTaskScheduler()
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic void start()
Copyright © 2022. All rights reserved.