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 |
lifecycleCondition, lifecycleLock| 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.
|
afterSingletonsInstantiated, buildErrorMessage, doStart, doStop, getErrorChannel, getErrorMessageAttributes, getMessagingTemplate, getOutputChannel, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrackdestroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, setTaskScheduler, start, stop, stopafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, toStringprotected 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.MessageProducerSupportprotected void convertAndSend(org.springframework.messaging.Message<?> message)