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

public abstract class RemotingInboundGatewaySupport
extends MessagingGatewaySupport
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.MessagingGatewaySupport
doStart, doStop, getComponentType, onInit, receive, send, sendAndReceive, sendAndReceiveMessage, setExceptionMapper, setReplyChannel, setReplyMapper, setReplyTimeout, setRequestChannel, setRequestMapper, setRequestTimeout, setShouldThrowErrors, setShouldTrack
 
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, getComponentName, getConversionService, getRequiredMetadataPersister, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.context.NamedComponent
getComponentName
 

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.