org.springframework.integration.gateway
Class SimpleMessagingGateway
java.lang.Object
   org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.context.IntegrationObjectSupport
       org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.AbstractEndpoint
           org.springframework.integration.gateway.AbstractMessagingGateway
org.springframework.integration.gateway.AbstractMessagingGateway
               org.springframework.integration.gateway.SimpleMessagingGateway
org.springframework.integration.gateway.SimpleMessagingGateway
- All Implemented Interfaces: 
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, MessagingGateway
- Direct Known Subclasses: 
- HttpInboundEndpoint, RemotingInboundGatewaySupport, SimpleWebServiceInboundGateway
- public class SimpleMessagingGateway 
- extends AbstractMessagingGateway
An implementation of AbstractMessagingGateway that delegates to
 an InboundMessageMapper and OutboundMessageMapper. The
 default implementation for both is SimpleMessageMapper.
- Author:
- Mark Fisher
- See Also:
- InboundMessageMapper,- OutboundMessageMapper
 
 
 
| Method Summary | 
| protected  java.lang.Object | fromMessage(Message<?> message)Subclasses must implement this to map from a Message to an Object.
 | 
| protected  Message<?> | toMessage(java.lang.Object object)Subclasses must implement this to map from an Object to a Message.
 | 
 
| 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 java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
SimpleMessagingGateway
public SimpleMessagingGateway()
SimpleMessagingGateway
public SimpleMessagingGateway(InboundMessageMapper<?> inboundMapper,
                              OutboundMessageMapper<?> outboundMapper)
fromMessage
protected java.lang.Object fromMessage(Message<?> message)
- Description copied from class: AbstractMessagingGateway
- Subclasses must implement this to map from a Message to an Object.
 
- 
- Specified by:
- fromMessagein class- AbstractMessagingGateway
 
- 
 
toMessage
protected Message<?> toMessage(java.lang.Object object)
- Description copied from class: AbstractMessagingGateway
- Subclasses must implement this to map from an Object to a Message.
 
- 
- Specified by:
- toMessagein class- AbstractMessagingGateway
 
-