public class AsyncMessagingTemplate extends MessagingTemplate implements AsyncMessagingOperations
DEFAULT_RECEIVE_TIMEOUT_HEADER, DEFAULT_SEND_TIMEOUT_HEADER
CONVERSION_HINT_HEADER, logger
Constructor and Description |
---|
AsyncMessagingTemplate() |
receive, receiveAndConvert, sendAndReceive, setBeanFactory, setDefaultChannel, setThrowExceptionOnLateReply
doReceive, doReceive, doSend, doSend, doSendAndReceive, getReceiveTimeout, getReceiveTimeoutHeader, getSendTimeout, getSendTimeoutHeader, setReceiveTimeout, setReceiveTimeoutHeader, setSendTimeout, setSendTimeoutHeader
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, getDestinationResolver, receive, receiveAndConvert, resolveDestination, send, sendAndReceive, setDestinationResolver
convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, sendAndReceive
doConvert, receive, receive, receiveAndConvert, receiveAndConvert
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, doConvert, 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
public void setExecutor(Executor executor)
public Future<?> asyncSend(Message<?> message)
asyncSend
in interface AsyncMessagingOperations
public Future<?> asyncSend(MessageChannel channel, Message<?> message)
asyncSend
in interface AsyncMessagingOperations
public Future<?> asyncSend(String channelName, Message<?> message)
asyncSend
in interface AsyncMessagingOperations
public Future<?> asyncConvertAndSend(Object object)
asyncConvertAndSend
in interface AsyncMessagingOperations
public Future<?> asyncConvertAndSend(MessageChannel channel, Object object)
asyncConvertAndSend
in interface AsyncMessagingOperations
public Future<?> asyncConvertAndSend(String channelName, Object object)
asyncConvertAndSend
in interface AsyncMessagingOperations
public Future<Message<?>> asyncReceive()
asyncReceive
in interface AsyncMessagingOperations
public Future<Message<?>> asyncReceive(PollableChannel channel)
asyncReceive
in interface AsyncMessagingOperations
public Future<Message<?>> asyncReceive(String channelName)
asyncReceive
in interface AsyncMessagingOperations
public <R> Future<R> asyncReceiveAndConvert()
asyncReceiveAndConvert
in interface AsyncMessagingOperations
public <R> Future<R> asyncReceiveAndConvert(PollableChannel channel)
asyncReceiveAndConvert
in interface AsyncMessagingOperations
public <R> Future<R> asyncReceiveAndConvert(String channelName)
asyncReceiveAndConvert
in interface AsyncMessagingOperations
public Future<Message<?>> asyncSendAndReceive(Message<?> requestMessage)
asyncSendAndReceive
in interface AsyncMessagingOperations
public Future<Message<?>> asyncSendAndReceive(MessageChannel channel, Message<?> requestMessage)
asyncSendAndReceive
in interface AsyncMessagingOperations
public Future<Message<?>> asyncSendAndReceive(String channelName, Message<?> requestMessage)
asyncSendAndReceive
in interface AsyncMessagingOperations
public <R> Future<R> asyncConvertSendAndReceive(Object request)
asyncConvertSendAndReceive
in interface AsyncMessagingOperations
public <R> Future<R> asyncConvertSendAndReceive(MessageChannel channel, Object request)
asyncConvertSendAndReceive
in interface AsyncMessagingOperations
public <R> Future<R> asyncConvertSendAndReceive(String channelName, Object request)
asyncConvertSendAndReceive
in interface AsyncMessagingOperations
public <R> Future<R> asyncConvertSendAndReceive(Object request, MessagePostProcessor requestPostProcessor)
asyncConvertSendAndReceive
in interface AsyncMessagingOperations
public <R> Future<R> asyncConvertSendAndReceive(MessageChannel channel, Object request, MessagePostProcessor requestPostProcessor)
asyncConvertSendAndReceive
in interface AsyncMessagingOperations
public <R> Future<R> asyncConvertSendAndReceive(String channelName, Object request, MessagePostProcessor requestPostProcessor)
asyncConvertSendAndReceive
in interface AsyncMessagingOperations