public class SyslogInboundChannelAdapter
extends org.springframework.integration.endpoint.MessageProducerSupport
InboundChannelAdapter
implementation that uses the Reactor TCP support to read in syslog messages and
transform them to a Map
for use in downstream modules.Constructor and Description |
---|
SyslogInboundChannelAdapter(reactor.core.Environment env) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
java.lang.String |
getComponentType() |
protected void |
onInit() |
void |
setHost(java.lang.String host)
Set hostname to bind this server to.
|
void |
setPort(int port)
Set port to bind this server to.
|
void |
setTransport(java.lang.String transport)
Set the transport to use.
|
sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, toString
public SyslogInboundChannelAdapter(reactor.core.Environment env)
public void setTransport(java.lang.String transport)
transport
- transportpublic void setHost(java.lang.String host)
host
- hostnamepublic void setPort(int port)
port
- portpublic java.lang.String getComponentType()
getComponentType
in interface org.springframework.integration.support.context.NamedComponent
getComponentType
in class org.springframework.integration.context.IntegrationObjectSupport
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