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, setPort
sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContext, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, toString
public 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.ApplicationEventPublisherAware
public java.lang.String getComponentType()
getComponentType
in interface org.springframework.integration.support.context.NamedComponent
getComponentType
in class org.springframework.integration.context.IntegrationObjectSupport
protected void onInit()
onInit
in class SyslogReceivingChannelAdapterSupport
protected void doStart()
doStart
in class org.springframework.integration.endpoint.MessageProducerSupport
protected void doStop()
doStop
in class org.springframework.integration.endpoint.MessageProducerSupport
public boolean onMessage(org.springframework.messaging.Message<?> message)
onMessage
in interface org.springframework.integration.ip.tcp.connection.TcpListener