public class GatewayEndpointSpec extends ConsumerEndpointSpec<GatewayEndpointSpec,GatewayMessageHandler>
ConsumerEndpointSpec
implementation for a mid-flow GatewayMessageHandler
.adviceChain
componentsToRegister, endpointFactoryBean, handler
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
GatewayEndpointSpec(MessageChannel requestChannel) |
protected |
GatewayEndpointSpec(String requestChannel) |
Modifier and Type | Method and Description |
---|---|
GatewayEndpointSpec |
errorChannel(MessageChannel errorChannel)
Set an error channel.
|
GatewayEndpointSpec |
errorChannel(String errorChannel)
Set an error channel.
|
GatewayEndpointSpec |
replyChannel(MessageChannel replyChannel)
Set a reply channel.
|
GatewayEndpointSpec |
replyChannel(String replyChannel)
Set a reply channel.
|
GatewayEndpointSpec |
replyTimeout(Long replyTimeout)
Set a reply timeout.
|
GatewayEndpointSpec |
requestTimeout(Long requestTimeout)
Set a request timeout.
|
advice, async, autoStartup, customizeMonoReply, doGet, handleMessageAdvice, notPropagatedHeaders, order, phase, poller, requiresReply, role, sendTimeout, taskScheduler, transactional, transactional, transactional, transactional, transactional
assertHandler, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, poller
_this, createInstance, destroyInstance, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected GatewayEndpointSpec(MessageChannel requestChannel)
protected GatewayEndpointSpec(String requestChannel)
public GatewayEndpointSpec replyChannel(MessageChannel replyChannel)
replyChannel
- the reply channelpublic GatewayEndpointSpec replyChannel(String replyChannel)
replyChannel
- the reply channelpublic GatewayEndpointSpec errorChannel(MessageChannel errorChannel)
errorChannel
- the error channelpublic GatewayEndpointSpec errorChannel(String errorChannel)
errorChannel
- the error channelpublic GatewayEndpointSpec requestTimeout(Long requestTimeout)
requestTimeout
- the request timeoutpublic GatewayEndpointSpec replyTimeout(Long replyTimeout)
replyTimeout
- the reply timeout