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, setShouldTrack
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, toString
public 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.MessageProducerSupport
protected void doStop()
doStop
in class org.springframework.integration.endpoint.MessageProducerSupport