public interface MessageListenerContainer extends SmartLifecycle
Modifier and Type | Method and Description |
---|---|
DestinationResolver |
getDestinationResolver()
Return the
DestinationResolver to use to resolve
destinations by names. |
MessageConverter |
getMessageConverter()
Return the
MessageConverter that can be used to
convert Message , if any. |
boolean |
isPubSubDomain()
Return whether the Publish/Subscribe domain (
Topics ) is used. |
void |
setupMessageListener(Object messageListener)
Setup the message listener to use.
|
isAutoStartup, stop
void setupMessageListener(Object messageListener)
IllegalArgumentException
if that message listener type is not supported.MessageConverter getMessageConverter()
MessageConverter
that can be used to
convert Message
, if any.DestinationResolver getDestinationResolver()
DestinationResolver
to use to resolve
destinations by names.boolean isPubSubDomain()