org.springframework.integration.adapter
Class RemotingInboundGatewaySupport

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.gateway.AbstractMessagingGateway
              extended by org.springframework.integration.gateway.SimpleMessagingGateway
                  extended by org.springframework.integration.adapter.RemotingInboundGatewaySupport
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, RemoteMessageHandler, MessagingGateway
Direct Known Subclasses:
HttpInvokerInboundGateway, RmiInboundGateway

public abstract class RemotingInboundGatewaySupport
extends SimpleMessagingGateway
implements RemoteMessageHandler

Support class for inbound Messaging Gateways.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
RemotingInboundGatewaySupport()
           
 
Method Summary
 Message<?> handle(Message<?> message)
           
 void setExpectReply(boolean expectReply)
          Specify whether the gateway should be expected to return a reply.
 
Methods inherited from class org.springframework.integration.gateway.SimpleMessagingGateway
fromMessage, toMessage
 
Methods inherited from class org.springframework.integration.gateway.AbstractMessagingGateway
doStart, doStop, onInit, receive, send, sendAndReceive, sendAndReceiveMessage, setReplyChannel, setReplyTimeout, setRequestChannel, setRequestTimeout, setShouldThrowErrors
 
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
afterPropertiesSet, isRunning, setAutoStartup, setTaskScheduler, start, stop
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
getBeanFactory, getBeanName, getChannelResolver, getTaskScheduler, setBeanFactory, setBeanName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemotingInboundGatewaySupport

public RemotingInboundGatewaySupport()
Method Detail

setExpectReply

public void setExpectReply(boolean expectReply)
Specify whether the gateway should be expected to return a reply. The default is 'true'.


handle

public Message<?> handle(Message<?> message)
Specified by:
handle in interface RemoteMessageHandler