Spring Integration

org.springframework.integration.gateway
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.gateway.RemotingInboundGatewaySupport
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, RequestReplyExchanger, NamedComponent
Direct Known Subclasses:
HttpInvokerInboundGateway, RmiInboundGateway

public abstract class RemotingInboundGatewaySupport
extends SimpleMessagingGateway
implements RequestReplyExchanger

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<?> exchange(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, sendAndReceive, sendAndReceiveMessage, toMessage
 
Methods inherited from class org.springframework.integration.gateway.AbstractMessagingGateway
doStart, doStop, getComponentType, onInit, receive, send, setExceptionMapper, setReplyChannel, setReplyTimeout, setRequestChannel, setRequestTimeout, setShouldThrowErrors
 
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, toString, writeMessageHistory
 
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'.


exchange

public Message<?> exchange(Message<?> message)
Specified by:
exchange in interface RequestReplyExchanger

Spring Integration

Copyright © 2010. All Rights Reserved.