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. |
boolean |
isReplyPubSubDomain()
Return whether the reply destination uses Publish/Subscribe domain
(
Topics). |
void |
setupMessageListener(Object messageListener)
Setup the message listener to use.
|
isAutoStartup, stopvoid 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()
boolean isReplyPubSubDomain()
Topics). Otherwise, the Point-to-Point domain
(Queues) is used.
By default, the value is identical to isPubSubDomain().