Spring Integration

org.springframework.integration.core
Class AsyncMessagingTemplate

java.lang.Object
  extended by org.springframework.integration.core.MessagingTemplate
      extended by org.springframework.integration.core.AsyncMessagingTemplate
All Implemented Interfaces:
BeanFactoryAware, InitializingBean, AsyncMessagingOperations, MessagingOperations

public class AsyncMessagingTemplate
extends MessagingTemplate
implements AsyncMessagingOperations

Since:
2.0
Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.core.MessagingTemplate
logger
 
Constructor Summary
AsyncMessagingTemplate()
           
 
Method Summary
<R> Future<R>
asyncConvertSendAndReceive(MessageChannel channel, Object request)
           
<R> Future<R>
asyncConvertSendAndReceive(MessageChannel channel, Object request, MessagePostProcessor requestPostProcessor)
           
<R> Future<R>
asyncConvertSendAndReceive(Object request)
           
<R> Future<R>
asyncConvertSendAndReceive(Object request, MessagePostProcessor requestPostProcessor)
           
<R> Future<R>
asyncConvertSendAndReceive(String channelName, Object request)
           
<R> Future<R>
asyncConvertSendAndReceive(String channelName, Object request, MessagePostProcessor requestPostProcessor)
           
 Future<Message<?>> asyncReceive()
           
 Future<Message<?>> asyncReceive(PollableChannel channel)
           
 Future<Message<?>> asyncReceive(String channelName)
           
<R> Future<R>
asyncReceiveAndConvert()
           
<R> Future<R>
asyncReceiveAndConvert(PollableChannel channel)
           
<R> Future<R>
asyncReceiveAndConvert(String channelName)
           
 Future<Message<?>> asyncSendAndReceive(Message<?> requestMessage)
           
 Future<Message<?>> asyncSendAndReceive(MessageChannel channel, Message<?> requestMessage)
           
 Future<Message<?>> asyncSendAndReceive(String channelName, Message<?> requestMessage)
           
 void setExecutor(Executor executor)
           
 
Methods inherited from class org.springframework.integration.core.MessagingTemplate
afterPropertiesSet, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, convertSendAndReceive, receive, receive, receive, receiveAndConvert, receiveAndConvert, receiveAndConvert, resolveChannelName, send, send, send, sendAndReceive, sendAndReceive, sendAndReceive, setBeanFactory, setChannelResolver, setDefaultChannel, setIsolationLevelName, setMessageConverter, setPropagationBehaviorName, setReceiveTimeout, setSendTimeout, setTransactionManager, setTransactionReadOnly, setTransactionTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncMessagingTemplate

public AsyncMessagingTemplate()
Method Detail

setExecutor

public void setExecutor(Executor executor)

asyncReceive

public Future<Message<?>> asyncReceive()
Specified by:
asyncReceive in interface AsyncMessagingOperations

asyncReceive

public Future<Message<?>> asyncReceive(PollableChannel channel)
Specified by:
asyncReceive in interface AsyncMessagingOperations

asyncReceive

public Future<Message<?>> asyncReceive(String channelName)
Specified by:
asyncReceive in interface AsyncMessagingOperations

asyncReceiveAndConvert

public <R> Future<R> asyncReceiveAndConvert()
Specified by:
asyncReceiveAndConvert in interface AsyncMessagingOperations

asyncReceiveAndConvert

public <R> Future<R> asyncReceiveAndConvert(PollableChannel channel)
Specified by:
asyncReceiveAndConvert in interface AsyncMessagingOperations

asyncReceiveAndConvert

public <R> Future<R> asyncReceiveAndConvert(String channelName)
Specified by:
asyncReceiveAndConvert in interface AsyncMessagingOperations

asyncSendAndReceive

public Future<Message<?>> asyncSendAndReceive(Message<?> requestMessage)
Specified by:
asyncSendAndReceive in interface AsyncMessagingOperations

asyncSendAndReceive

public Future<Message<?>> asyncSendAndReceive(MessageChannel channel,
                                              Message<?> requestMessage)
Specified by:
asyncSendAndReceive in interface AsyncMessagingOperations

asyncSendAndReceive

public Future<Message<?>> asyncSendAndReceive(String channelName,
                                              Message<?> requestMessage)
Specified by:
asyncSendAndReceive in interface AsyncMessagingOperations

asyncConvertSendAndReceive

public <R> Future<R> asyncConvertSendAndReceive(Object request)
Specified by:
asyncConvertSendAndReceive in interface AsyncMessagingOperations

asyncConvertSendAndReceive

public <R> Future<R> asyncConvertSendAndReceive(MessageChannel channel,
                                                Object request)
Specified by:
asyncConvertSendAndReceive in interface AsyncMessagingOperations

asyncConvertSendAndReceive

public <R> Future<R> asyncConvertSendAndReceive(String channelName,
                                                Object request)
Specified by:
asyncConvertSendAndReceive in interface AsyncMessagingOperations

asyncConvertSendAndReceive

public <R> Future<R> asyncConvertSendAndReceive(Object request,
                                                MessagePostProcessor requestPostProcessor)
Specified by:
asyncConvertSendAndReceive in interface AsyncMessagingOperations

asyncConvertSendAndReceive

public <R> Future<R> asyncConvertSendAndReceive(MessageChannel channel,
                                                Object request,
                                                MessagePostProcessor requestPostProcessor)
Specified by:
asyncConvertSendAndReceive in interface AsyncMessagingOperations

asyncConvertSendAndReceive

public <R> Future<R> asyncConvertSendAndReceive(String channelName,
                                                Object request,
                                                MessagePostProcessor requestPostProcessor)
Specified by:
asyncConvertSendAndReceive in interface AsyncMessagingOperations

Spring Integration

Copyright © 2010. All Rights Reserved.