public class MessagingTemplate extends GenericMessagingTemplate
logger
Constructor and Description |
---|
MessagingTemplate() |
Modifier and Type | Method and Description |
---|---|
void |
setBeanFactory(BeanFactory beanFactory)
Overridden to set the destination resolver to a
BeanFactoryChannelResolver . |
void |
setDefaultChannel(MessageChannel channel)
Invokes
setDefaultDestination(MessageChannel) - provided for
backward compatibility. |
doReceive, doSend, doSendAndReceive, getReceiveTimeout, getSendTimeout, setReceiveTimeout, setSendTimeout, setThrowExceptionOnLateReply
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, getDestinationResolver, receive, receiveAndConvert, resolveDestination, send, sendAndReceive, setDestinationResolver
convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, receive, receive, receiveAndConvert, receiveAndConvert, sendAndReceive, sendAndReceive
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, getDefaultDestination, getMessageConverter, getRequiredDefaultDestination, processHeadersToSend, send, send, setDefaultDestination, setMessageConverter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, send, send
receive, receive, receiveAndConvert, receiveAndConvert
convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, sendAndReceive, sendAndReceive
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
BeanFactoryChannelResolver
.setBeanFactory
in interface BeanFactoryAware
setBeanFactory
in class GenericMessagingTemplate
BeansException
public void setDefaultChannel(MessageChannel channel)
setDefaultDestination(MessageChannel)
- provided for
backward compatibility.channel
- the channel to set.