public class TcpSyslogReceivingChannelAdapter extends SyslogReceivingChannelAdapterSupport implements org.springframework.integration.ip.tcp.connection.TcpListener, org.springframework.context.ApplicationEventPublisherAware
DEFAULT_PORT, logger| Constructor and Description |
|---|
TcpSyslogReceivingChannelAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
java.lang.String |
getComponentType() |
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, getPort, setConverter, setPortafterSingletonsInstantiated, getErrorChannel, getMessagingTemplate, getOutputChannel, sendMessage, setErrorChannel, setErrorChannelName, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrackdoStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, 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.ApplicationEventPublisherAwarepublic 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