public class TcpConnectionEventListeningMessageProducer extends MessageProducerSupport implements org.springframework.context.ApplicationListener<TcpConnectionEvent>
MessageProducer that produces Messages with @link TcpConnectionEvent
payloads.logger| Constructor and Description |
|---|
TcpConnectionEventListeningMessageProducer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.messaging.Message<TcpConnectionEvent> |
messageFromEvent(TcpConnectionEvent event) |
void |
onApplicationEvent(TcpConnectionEvent event) |
void |
setEventTypes(java.lang.Class<? extends TcpConnectionEvent>[] eventTypes)
Set the list of event types (classes that extend TcpConnectionEvent) that
this adapter should send to the message channel.
|
doStart, doStop, onInit, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrackgetPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentName, getComponentTypepublic TcpConnectionEventListeningMessageProducer()
public void setEventTypes(java.lang.Class<? extends TcpConnectionEvent>[] eventTypes)
public void onApplicationEvent(TcpConnectionEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<TcpConnectionEvent>protected org.springframework.messaging.Message<TcpConnectionEvent> messageFromEvent(TcpConnectionEvent event)