public interface MessageListenerContainer extends SmartLifecycle
| Modifier and Type | Method and Description |
|---|---|
MessageConverter |
getMessageConverter()
Deprecated.
- this converter is not used by the container; it was only
used to configure the converter for a
@RabbitListener adapter.
That is now handled differently. If you are manually creating a listener
container, the converter must be configured in a listener adapter (if
present). |
default void |
lazyLoad()
Do not check for missing or mismatched queues during startup.
|
void |
setupMessageListener(Object messageListener)
Setup the message listener to use.
|
isAutoStartup, stopvoid setupMessageListener(Object messageListener)
IllegalArgumentException
if that message listener type is not supported.messageListener - the object to wrapped to the MessageListener.@Deprecated MessageConverter getMessageConverter()
@RabbitListener adapter.
That is now handled differently. If you are manually creating a listener
container, the converter must be configured in a listener adapter (if
present).MessageConverter that can be used to
convert Message, if any.default void lazyLoad()