public class MessagingTemplate
extends org.springframework.messaging.core.GenericMessagingTemplate
| Constructor and Description |
|---|
MessagingTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Overridden to set the destination resolver to a
BeanFactoryChannelResolver. |
void |
setDefaultChannel(org.springframework.messaging.MessageChannel channel)
Invokes
setDefaultDestination(MessageChannel) - provided for
backward compatibility. |
doReceive, doSend, doSendAndReceive, getReceiveTimeout, getSendTimeout, setReceiveTimeout, setSendTimeout, setThrowExceptionOnLateReplyconvertAndSend, convertAndSend, convertAndSend, convertAndSend, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, getDestinationResolver, receive, receiveAndConvert, resolveDestination, send, sendAndReceive, setDestinationResolverconvertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, receive, receive, receiveAndConvert, receiveAndConvert, sendAndReceive, sendAndReceiveconvertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, getDefaultDestination, getMessageConverter, getRequiredDefaultDestination, send, send, setDefaultDestination, setMessageConverterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, send, sendpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
BeanFactoryChannelResolver.setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwaresetBeanFactory in class org.springframework.messaging.core.GenericMessagingTemplateorg.springframework.beans.BeansExceptionpublic void setDefaultChannel(org.springframework.messaging.MessageChannel channel)
setDefaultDestination(MessageChannel) - provided for
backward compatibility.channel - the channel to set.