public class TcpSyslogReceivingChannelAdapter extends SyslogReceivingChannelAdapterSupport implements org.springframework.integration.ip.tcp.connection.TcpListener, org.springframework.context.ApplicationEventPublisherAware
DEFAULT_PORT, loggerlifecycleCondition, lifecycleLock| Constructor and Description |
|---|
TcpSyslogReceivingChannelAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
java.lang.String |
getComponentType() |
protected int |
getPort() |
protected void |
onInit() |
boolean |
onMessage(org.springframework.messaging.Message<?> message) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
void |
setConnectionFactory(org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory) |
convertAndSend, setConverter, setPortafterSingletonsInstantiated, buildErrorMessage, 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, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, toStringpublic void setConnectionFactory(org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory)
connectionFactory - The connection factory.public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwareprotected int getPort()
getPort in class SyslogReceivingChannelAdapterSupportpublic java.lang.String getComponentType()
getComponentType in interface org.springframework.integration.support.context.NamedComponentgetComponentType in class org.springframework.integration.context.IntegrationObjectSupportprotected void onInit()
onInit in class SyslogReceivingChannelAdapterSupportprotected void doStart()
doStart in class org.springframework.integration.endpoint.MessageProducerSupportprotected void doStop()
doStop in class org.springframework.integration.endpoint.MessageProducerSupportpublic boolean onMessage(org.springframework.messaging.Message<?> message)
onMessage in interface org.springframework.integration.ip.tcp.connection.TcpListener