ApplicationEventListeningMessageProducer which
can now more efficiently filter required events. Configure the adapter to handle
TcpConnectionEvent.@Deprecated public class TcpConnectionEventListeningMessageProducer extends org.springframework.integration.endpoint.MessageProducerSupport implements org.springframework.context.ApplicationListener<TcpConnectionEvent>
MessageProducer that produces Messages with @link TcpConnectionEvent
payloads.| Constructor and Description |
|---|
TcpConnectionEventListeningMessageProducer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentType()
Deprecated.
|
protected org.springframework.messaging.Message<TcpConnectionEvent> |
messageFromEvent(TcpConnectionEvent event)
Deprecated.
|
void |
onApplicationEvent(TcpConnectionEvent event)
Deprecated.
|
void |
setEventTypes(java.lang.Class<? extends TcpConnectionEvent>[] eventTypes)
Deprecated.
Set the list of event types (classes that extend TcpConnectionEvent) that
this adapter should send to the message channel.
|
doStart, doStop, getMessagingTemplate, onInit, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrackdoStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, toStringpublic TcpConnectionEventListeningMessageProducer()
public void setEventTypes(java.lang.Class<? extends TcpConnectionEvent>[] eventTypes)
eventTypes - The event types.public java.lang.String getComponentType()
getComponentType in interface org.springframework.integration.support.context.NamedComponentgetComponentType in class org.springframework.integration.context.IntegrationObjectSupportpublic void onApplicationEvent(TcpConnectionEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<TcpConnectionEvent>protected org.springframework.messaging.Message<TcpConnectionEvent> messageFromEvent(TcpConnectionEvent event)