org.springframework.integration.gateway
Class GatewayInvokingMessageHandler

java.lang.Object
  extended by org.springframework.integration.handler.AbstractMessageHandler
      extended by org.springframework.integration.handler.AbstractReplyProducingMessageHandler
          extended by org.springframework.integration.gateway.GatewayInvokingMessageHandler
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.Ordered, MessageHandler

public class GatewayInvokingMessageHandler
extends AbstractReplyProducingMessageHandler

Will decorate 'gateway' as MessageHandler so it could be included in the chain.

Since:
2.0
Author:
Oleg Zhurakousky

Field Summary
 
Fields inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandler
DEFAULT_SEND_TIMEOUT
 
Fields inherited from class org.springframework.integration.handler.AbstractMessageHandler
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
GatewayInvokingMessageHandler(org.springframework.integration.gateway.GenericSendAndRecieveGateway gateway)
           
 
Method Summary
protected  java.lang.Object handleRequestMessage(Message<?> requestMessage)
          Will simply delegate to the original gateway
 
Methods inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandler
getOutputChannel, handleMessageInternal, handleResult, sendReplyMessage, setBeanFactory, setChannelResolver, setOutputChannel, setRequiresReply, setSendTimeout
 
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler
getOrder, handleMessage, resolveReplyChannel, setOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatewayInvokingMessageHandler

public GatewayInvokingMessageHandler(org.springframework.integration.gateway.GenericSendAndRecieveGateway gateway)
Parameters:
gateway -
Method Detail

handleRequestMessage

protected java.lang.Object handleRequestMessage(Message<?> requestMessage)
Will simply delegate to the original gateway

Specified by:
handleRequestMessage in class AbstractReplyProducingMessageHandler