|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.AbstractMessagingGateway
org.springframework.integration.gateway.SimpleMessagingGateway
public class SimpleMessagingGateway
An implementation of AbstractMessagingGateway that delegates to
an InboundMessageMapper and OutboundMessageMapper. The
default implementation for both is SimpleMessageMapper.
InboundMessageMapper,
OutboundMessageMapper| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
SimpleMessagingGateway()
|
|
SimpleMessagingGateway(InboundMessageMapper<?> inboundMapper,
OutboundMessageMapper<?> outboundMapper)
|
|
| 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 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, getBeanName, getChannelResolver, getComponentMetadata, getConversionService, getTaskScheduler, populateComponentMetadata, setBeanFactory, setBeanName, setChannelResolver, setConversionService, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleMessagingGateway()
public SimpleMessagingGateway(InboundMessageMapper<?> inboundMapper,
OutboundMessageMapper<?> outboundMapper)
| Method Detail |
|---|
protected java.lang.Object fromMessage(Message<?> message)
AbstractMessagingGateway
fromMessage in class AbstractMessagingGatewayprotected Message<?> toMessage(java.lang.Object object)
AbstractMessagingGateway
toMessage in class AbstractMessagingGateway
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||