org.springframework.integration.gateway
Class AbstractRemotingOutboundGateway
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.handler.AbstractReplyProducingMessageHandler
org.springframework.integration.gateway.AbstractRemotingOutboundGateway
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, MessageHandler, MessageProducer, TrackableComponent
- Direct Known Subclasses:
- HttpInvokerOutboundGateway, RmiOutboundGateway
public abstract class AbstractRemotingOutboundGateway
- extends AbstractReplyProducingMessageHandler
A base class for outbound URL-based Messaging Gateways.
- Author:
- Mark Fisher
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getRequiredMetadataPersister, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
AbstractRemotingOutboundGateway
public AbstractRemotingOutboundGateway(String url)
setReplyChannel
public void setReplyChannel(MessageChannel replyChannel)
createProxy
protected abstract RequestReplyExchanger createProxy(String url)
- Subclasses must implement this method. It will be invoked from the constructor.
handleRequestMessage
public final Object handleRequestMessage(Message<?> message)
- 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
Copyright © 2010. All Rights Reserved.