org.springframework.integration.gateway
Class SimpleMessagingGateway
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.AbstractMessagingGateway
org.springframework.integration.gateway.SimpleMessagingGateway
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent
- Direct Known Subclasses:
- 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
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.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, toString, writeMessageHistory |
SimpleMessagingGateway
public SimpleMessagingGateway()
SimpleMessagingGateway
public SimpleMessagingGateway(InboundMessageMapper<?> inboundMapper,
OutboundMessageMapper<?> outboundMapper)
sendAndReceiveMessage
public Message<?> sendAndReceiveMessage(Object object)
- Overrides:
sendAndReceiveMessage
in class AbstractMessagingGateway
sendAndReceive
public Object sendAndReceive(Object object)
- Overrides:
sendAndReceive
in class AbstractMessagingGateway
fromMessage
protected Object fromMessage(Message<?> message)
- Overrides:
fromMessage
in class AbstractMessagingGateway
toMessage
protected Message<?> toMessage(Object object)
- Overrides:
toMessage
in class AbstractMessagingGateway
Copyright © 2010. All Rights Reserved.