public abstract class MessagingGatewaySpec<S extends MessagingGatewaySpec<S,G>,G extends org.springframework.integration.gateway.MessagingGatewaySupport> extends IntegrationComponentSpec<S,G>
IntegrationComponentSpec for MessagingGatewaySupports.id, logger, PARSER, target| Constructor and Description |
|---|
MessagingGatewaySpec(G gateway) |
| Modifier and Type | Method and Description |
|---|---|
S |
autoStartup(boolean autoStartup) |
protected G |
doGet() |
S |
errorChannel(org.springframework.messaging.MessageChannel errorChannel) |
S |
errorChannel(java.lang.String errorChannelName) |
S |
id(java.lang.String id)
Configure the component identifier.
|
S |
phase(int phase) |
S |
replyChannel(org.springframework.messaging.MessageChannel replyChannel) |
S |
replyChannel(java.lang.String replyChannelName) |
S |
replyMapper(org.springframework.integration.mapping.OutboundMessageMapper<?> replyMapper) |
S |
replyTimeout(long replyTimeout) |
S |
requestChannel(org.springframework.messaging.MessageChannel requestChannel) |
S |
requestChannel(java.lang.String requestChannelName) |
S |
requestMapper(org.springframework.integration.mapping.InboundMessageMapper<?> requestMapper) |
S |
requestTimeout(long requestTimeout) |
_this, get, getIdpublic MessagingGatewaySpec(G gateway)
public S id(java.lang.String id)
IntegrationComponentSpecbeanName to register the
bean in the application context for this component.id in class IntegrationComponentSpec<S extends MessagingGatewaySpec<S,G>,G extends org.springframework.integration.gateway.MessagingGatewaySupport>id - the id.public S phase(int phase)
phase - the phase.SmartLifecyclepublic S autoStartup(boolean autoStartup)
autoStartup - the autoStartup.SmartLifecyclepublic S replyChannel(org.springframework.messaging.MessageChannel replyChannel)
replyChannel - the replyChannel.MessagingGatewaySupport.setReplyChannel(MessageChannel)public S replyChannel(java.lang.String replyChannelName)
replyChannelName - the name of replyChannel.MessagingGatewaySupport.setReplyChannelName(String)public S requestChannel(org.springframework.messaging.MessageChannel requestChannel)
requestChannel - the requestChannel.MessagingGatewaySupport.setRequestChannel(MessageChannel)public S requestChannel(java.lang.String requestChannelName)
requestChannelName - the name of requestChannel.MessagingGatewaySupport.setRequestChannelName(String)public S errorChannel(org.springframework.messaging.MessageChannel errorChannel)
errorChannel - the errorChannel.MessagingGatewaySupport.setErrorChannel(MessageChannel)public S errorChannel(java.lang.String errorChannelName)
errorChannelName - the name of errorChannel.MessagingGatewaySupport.setErrorChannelName(String)public S requestTimeout(long requestTimeout)
requestTimeout - the requestTimeout.MessagingGatewaySupport.setRequestTimeout(long)public S replyTimeout(long replyTimeout)
replyTimeout - the replyTimeout.MessagingGatewaySupport.setReplyTimeout(long)public S requestMapper(org.springframework.integration.mapping.InboundMessageMapper<?> requestMapper)
requestMapper - the requestMapper.MessagingGatewaySupport.setRequestMapper(InboundMessageMapper)public S replyMapper(org.springframework.integration.mapping.OutboundMessageMapper<?> replyMapper)
replyMapper - the replyMapper.MessagingGatewaySupport.setReplyMapper(OutboundMessageMapper)protected final G doGet()
doGet in class IntegrationComponentSpec<S extends MessagingGatewaySpec<S,G>,G extends org.springframework.integration.gateway.MessagingGatewaySupport>