public abstract class SyslogReceivingChannelAdapterSupport extends MessageProducerSupport
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_PORT |
lifecycleCondition, lifecycleLock
EXPRESSION_PARSER, logger
DEFAULT_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, subscribeToPublisher
destroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
afterPropertiesSet, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBeanName, getComponentName, getComponentType
protected 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()
IntegrationObjectSupport
onInit
in class MessageProducerSupport
protected void convertAndSend(Message<?> message)