public interface MessageListenerContainer extends SmartLifecycle
DEFAULT_PHASE| Modifier and Type | Method and Description |
|---|---|
default boolean |
isConsumerBatchEnabled()
Return true if this container is capable of (and configured to) create batches
of consumed messages.
|
default void |
lazyLoad()
Do not check for missing or mismatched queues during startup.
|
void |
setupMessageListener(MessageListener messageListener)
Setup the message listener to use.
|
getPhase, isAutoStartup, stopvoid setupMessageListener(MessageListener messageListener)
IllegalArgumentException
if that message listener type is not supported.messageListener - the object to wrapped to the MessageListener.default void lazyLoad()
default boolean isConsumerBatchEnabled()