Class AsyncMessagingTemplate
java.lang.Object
org.springframework.messaging.core.AbstractMessageSendingTemplate<D>
org.springframework.messaging.core.AbstractMessageReceivingTemplate<D>
org.springframework.messaging.core.AbstractMessagingTemplate<D>
org.springframework.messaging.core.AbstractDestinationResolvingMessagingTemplate<MessageChannel>
org.springframework.messaging.core.GenericMessagingTemplate
org.springframework.integration.core.MessagingTemplate
org.springframework.integration.core.AsyncMessagingTemplate
- All Implemented Interfaces:
Aware,BeanFactoryAware,AsyncMessagingOperations,DestinationResolvingMessageReceivingOperations<MessageChannel>,DestinationResolvingMessageRequestReplyOperations<MessageChannel>,DestinationResolvingMessageSendingOperations<MessageChannel>,MessageReceivingOperations<MessageChannel>,MessageRequestReplyOperations<MessageChannel>,MessageSendingOperations<MessageChannel>
public class AsyncMessagingTemplate extends MessagingTemplate implements AsyncMessagingOperations
- Since:
- 2.0
- Author:
- Mark Fisher, Gary Russell
-
Field Summary
Fields inherited from class org.springframework.messaging.core.GenericMessagingTemplate
DEFAULT_RECEIVE_TIMEOUT_HEADER, DEFAULT_SEND_TIMEOUT_HEADERFields inherited from class org.springframework.messaging.core.AbstractMessageSendingTemplate
CONVERSION_HINT_HEADER, logger -
Constructor Summary
Constructors Constructor Description AsyncMessagingTemplate() -
Method Summary
Methods inherited from class org.springframework.integration.core.MessagingTemplate
receive, receiveAndConvert, sendAndReceive, setBeanFactory, setDefaultChannel, setThrowExceptionOnLateReplyMethods inherited from class org.springframework.messaging.core.GenericMessagingTemplate
doReceive, doReceive, doSend, doSend, doSendAndReceive, getReceiveTimeout, getReceiveTimeoutHeader, getSendTimeout, getSendTimeoutHeader, setReceiveTimeout, setReceiveTimeoutHeader, setSendTimeout, setSendTimeoutHeaderMethods inherited from class org.springframework.messaging.core.AbstractDestinationResolvingMessagingTemplate
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, getDestinationResolver, receive, receiveAndConvert, resolveDestination, send, sendAndReceive, setDestinationResolverMethods inherited from class org.springframework.messaging.core.AbstractMessagingTemplate
convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, sendAndReceiveMethods inherited from class org.springframework.messaging.core.AbstractMessageReceivingTemplate
doConvert, receive, receive, receiveAndConvert, receiveAndConvertMethods inherited from class org.springframework.messaging.core.AbstractMessageSendingTemplate
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, doConvert, getDefaultDestination, getMessageConverter, getRequiredDefaultDestination, processHeadersToSend, send, send, setDefaultDestination, setMessageConverterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.messaging.core.MessageReceivingOperations
receive, receive, receiveAndConvert, receiveAndConvertMethods inherited from interface org.springframework.messaging.core.MessageRequestReplyOperations
convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, sendAndReceiveMethods inherited from interface org.springframework.messaging.core.MessageSendingOperations
convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, send, send
-
Constructor Details
-
AsyncMessagingTemplate
public AsyncMessagingTemplate()
-
-
Method Details
-
setExecutor
-
asyncSend
- Specified by:
asyncSendin interfaceAsyncMessagingOperations
-
asyncSend
- Specified by:
asyncSendin interfaceAsyncMessagingOperations
-
asyncSend
- Specified by:
asyncSendin interfaceAsyncMessagingOperations
-
asyncConvertAndSend
- Specified by:
asyncConvertAndSendin interfaceAsyncMessagingOperations
-
asyncConvertAndSend
- Specified by:
asyncConvertAndSendin interfaceAsyncMessagingOperations
-
asyncConvertAndSend
- Specified by:
asyncConvertAndSendin interfaceAsyncMessagingOperations
-
asyncReceive
- Specified by:
asyncReceivein interfaceAsyncMessagingOperations
-
asyncReceive
- Specified by:
asyncReceivein interfaceAsyncMessagingOperations
-
asyncReceive
- Specified by:
asyncReceivein interfaceAsyncMessagingOperations
-
asyncReceiveAndConvert
- Specified by:
asyncReceiveAndConvertin interfaceAsyncMessagingOperations
-
asyncReceiveAndConvert
- Specified by:
asyncReceiveAndConvertin interfaceAsyncMessagingOperations
-
asyncReceiveAndConvert
- Specified by:
asyncReceiveAndConvertin interfaceAsyncMessagingOperations
-
asyncSendAndReceive
- Specified by:
asyncSendAndReceivein interfaceAsyncMessagingOperations
-
asyncSendAndReceive
- Specified by:
asyncSendAndReceivein interfaceAsyncMessagingOperations
-
asyncSendAndReceive
- Specified by:
asyncSendAndReceivein interfaceAsyncMessagingOperations
-
asyncConvertSendAndReceive
- Specified by:
asyncConvertSendAndReceivein interfaceAsyncMessagingOperations
-
asyncConvertSendAndReceive
- Specified by:
asyncConvertSendAndReceivein interfaceAsyncMessagingOperations
-
asyncConvertSendAndReceive
- Specified by:
asyncConvertSendAndReceivein interfaceAsyncMessagingOperations
-
asyncConvertSendAndReceive
public <R> Future<R> asyncConvertSendAndReceive(Object request, MessagePostProcessor requestPostProcessor)- Specified by:
asyncConvertSendAndReceivein interfaceAsyncMessagingOperations
-
asyncConvertSendAndReceive
public <R> Future<R> asyncConvertSendAndReceive(MessageChannel channel, Object request, MessagePostProcessor requestPostProcessor)- Specified by:
asyncConvertSendAndReceivein interfaceAsyncMessagingOperations
-
asyncConvertSendAndReceive
public <R> Future<R> asyncConvertSendAndReceive(String channelName, Object request, MessagePostProcessor requestPostProcessor)- Specified by:
asyncConvertSendAndReceivein interfaceAsyncMessagingOperations
-