public abstract class SyslogReceivingChannelAdapterSupport extends MessageProducerSupport
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_PORT |
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
SyslogReceivingChannelAdapterSupport() |
Modifier and Type | Method and Description |
---|---|
protected void |
convertAndSend(Message<?> message) |
protected int |
getPort() |
void |
setConverter(MessageConverter converter)
A
MessageConverter to convert the byte array payload
of the underlying UDP/TCP message to a Spring Integration message
with decoded payload and headers; default is DefaultMessageConverter . |
void |
setPort(int port)
Sets the port on which the adapter listens; default is 514; note that
the RFC does not specify a well known port for TCP; 514 is the well-known
port for UDP.
|
doStart, doStop, onInit, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName, getComponentType
protected static final int DEFAULT_PORT
protected final org.apache.commons.logging.Log logger
public SyslogReceivingChannelAdapterSupport()
protected int getPort()
public void setPort(int port)
port
- The port.public void setConverter(MessageConverter converter)
MessageConverter
to convert the byte array payload
of the underlying UDP/TCP message to a Spring Integration message
with decoded payload and headers; default is DefaultMessageConverter
.converter
- The converter.protected void convertAndSend(Message<?> message)