public class NettyHttpInboundChannelAdapter
extends org.springframework.integration.endpoint.MessageProducerSupport
| Constructor and Description |
|---|
NettyHttpInboundChannelAdapter(int port) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
void |
setExecutor(java.util.concurrent.Executor executor) |
onInit, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrackgetPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, toStringpublic void setExecutor(java.util.concurrent.Executor executor)
executor - The Executor to use with the Netty ExecutionHandler in the pipeline. This allows
any potential blocking operations done by message consumers to be removed from the I/O thread. The default
executor is an OrderedMemoryAwareThreadPoolExecutor, which is highly recommended because it
guarantees order of execution within a channel.protected void doStart()
doStart in class org.springframework.integration.endpoint.MessageProducerSupportprotected void doStop()
doStop in class org.springframework.integration.endpoint.MessageProducerSupport