public abstract class SyslogReceivingChannelAdapterSupport
extends org.springframework.integration.endpoint.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(org.springframework.messaging.Message<?> message) |
protected int |
getPort() |
protected void |
onInit() |
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, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContext, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, toString
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 onInit()
onInit
in class org.springframework.integration.endpoint.MessageProducerSupport
protected void convertAndSend(org.springframework.messaging.Message<?> message)