org.springframework.integration.gateway
Class AbstractRemotingOutboundGateway

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.handler.AbstractMessageHandler
          extended by org.springframework.integration.handler.AbstractReplyProducingMessageHandler
              extended by org.springframework.integration.gateway.AbstractRemotingOutboundGateway
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, Orderable, MessageHandler, MessageProducer, TrackableComponent
Direct Known Subclasses:
RmiOutboundGateway

Deprecated. as of 2.0. Will be removed in 2.1.

@Deprecated
public abstract class AbstractRemotingOutboundGateway
extends AbstractReplyProducingMessageHandler

A base class for outbound URL-based Messaging Gateways.


Field Summary
 
Fields inherited from class org.springframework.integration.handler.AbstractMessageHandler
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
AbstractRemotingOutboundGateway(java.lang.String url)
          Deprecated.  
 
Method Summary
protected abstract  RequestReplyExchanger createProxy(java.lang.String url)
          Deprecated. Subclasses must implement this method.
 java.lang.Object handleRequestMessage(Message<?> message)
          Deprecated. Subclasses must implement this method to handle the request Message.
 void setReplyChannel(MessageChannel replyChannel)
          Deprecated.  
 
Methods inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandler
getMessagingTemplate, handleMessageInternal, onInit, setChannelResolver, setOutputChannel, setRequiresReply, setSendTimeout, shouldCopyRequestHeaders
 
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, 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

AbstractRemotingOutboundGateway

public AbstractRemotingOutboundGateway(java.lang.String url)
Deprecated. 
Method Detail

setReplyChannel

public void setReplyChannel(MessageChannel replyChannel)
Deprecated. 

createProxy

protected abstract RequestReplyExchanger createProxy(java.lang.String url)
Deprecated. 
Subclasses must implement this method. It will be invoked from the constructor.


handleRequestMessage

public final java.lang.Object handleRequestMessage(Message<?> message)
Deprecated. 
Description copied from class: AbstractReplyProducingMessageHandler
Subclasses must implement this method to handle the request Message. The return value may be a Message, a MessageBuilder, or any plain Object. The base class will handle the final creation of a reply Message from any of those starting points. If the return value is null, the Message flow will end here.

Specified by:
handleRequestMessage in class AbstractReplyProducingMessageHandler