public class NettyHttpInboundChannelAdapter
extends org.springframework.integration.endpoint.MessageProducerSupport
Constructor and Description |
---|
NettyHttpInboundChannelAdapter(int port) |
NettyHttpInboundChannelAdapter(int port,
boolean ssl) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
protected void |
onInit() |
void |
setExecutor(java.util.concurrent.Executor executor) |
void |
setSslPropertiesLocation(org.springframework.core.io.Resource sslPropertiesLocation) |
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 NettyHttpInboundChannelAdapter(int port)
public NettyHttpInboundChannelAdapter(int port, boolean ssl)
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.public void setSslPropertiesLocation(org.springframework.core.io.Resource sslPropertiesLocation)
sslPropertiesLocation
- A properties resource containing a resource with key 'keyStore' and
a pass phrase with key 'keyStore.passPhrase'.protected void onInit()
onInit
in class org.springframework.integration.endpoint.MessageProducerSupport
protected void doStart()
doStart
in class org.springframework.integration.endpoint.MessageProducerSupport
protected void doStop()
doStop
in class org.springframework.integration.endpoint.MessageProducerSupport