public class AsyncMessagingTemplate extends MessagingTemplate implements AsyncMessagingOperations
logger
Constructor and Description |
---|
AsyncMessagingTemplate() |
setBeanFactory, setDefaultChannel
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 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