public abstract class SyslogReceivingChannelAdapterSupport extends MessageProducerSupport
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_PORT |
lifecycleCondition, lifecycleLockEXPRESSION_PARSER, loggerDEFAULT_PHASE| Constructor and Description |
|---|
SyslogReceivingChannelAdapterSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
convertAndSend(Message<?> message) |
protected int |
getPort() |
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
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, getIntegrationPatternType, getMessagingTemplate, getOutputChannel, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrack, subscribeToPublisherdestroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stopafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBeanName, getComponentName, getComponentTypeprotected static final int DEFAULT_PORT
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()
IntegrationObjectSupportonInit in class MessageProducerSupportprotected void convertAndSend(Message<?> message)