public abstract class MessagingGatewaySpec<S extends MessagingGatewaySpec<S,G>,G extends org.springframework.integration.gateway.MessagingGatewaySupport> extends IntegrationComponentSpec<S,G>
IntegrationComponentSpec
for MessagingGatewaySupport
s.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 |
id(java.lang.String id)
Configure the component identifier.
|
S |
phase(int phase) |
S |
replyChannel(org.springframework.messaging.MessageChannel replyChannel) |
S |
replyMapper(org.springframework.integration.mapping.OutboundMessageMapper<?> replyMapper) |
S |
replyTimeout(long replyTimeout) |
S |
requestChannel(org.springframework.messaging.MessageChannel requestChannel) |
S |
requestMapper(org.springframework.integration.mapping.InboundMessageMapper<?> requestMapper) |
S |
requestTimeout(long requestTimeout) |
_this, get, getId
public MessagingGatewaySpec(G gateway)
public S id(java.lang.String id)
IntegrationComponentSpec
beanName
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.SmartLifecycle
public S autoStartup(boolean autoStartup)
autoStartup
- the autoStartup.SmartLifecycle
public S replyChannel(org.springframework.messaging.MessageChannel replyChannel)
replyChannel
- the replyChannel.MessagingGatewaySupport.setReplyChannel(MessageChannel)
public S requestChannel(org.springframework.messaging.MessageChannel requestChannel)
requestChannel
- the requestChannel.MessagingGatewaySupport.setRequestChannel(MessageChannel)
public S errorChannel(org.springframework.messaging.MessageChannel errorChannel)
errorChannel
- the errorChannel.MessagingGatewaySupport.setErrorChannel(MessageChannel)
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>