ApplicationEventListeningMessageProducer which
can now more efficiently filter required events. Configure the adapter to handle
TcpConnectionEvent.@Deprecated public class TcpConnectionEventListeningMessageProducer extends MessageProducerSupport implements ApplicationListener<TcpConnectionEvent>
MessageProducer that produces Messages with @link TcpConnectionEvent
payloads.lifecycleCondition, lifecycleLockEXPRESSION_PARSER, logger| Constructor and Description |
|---|
TcpConnectionEventListeningMessageProducer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentType()
Deprecated.
Subclasses may implement this method to provide component type information.
|
protected Message<TcpConnectionEvent> |
messageFromEvent(TcpConnectionEvent event)
Deprecated.
|
void |
onApplicationEvent(TcpConnectionEvent event)
Deprecated.
|
void |
setEventTypes(Class<? extends TcpConnectionEvent>[] eventTypes)
Deprecated.
Set the list of event types (classes that extend TcpConnectionEvent) that
this adapter should send to the message channel.
|
afterSingletonsInstantiated, doStart, doStop, getErrorChannel, getMessagingTemplate, getOutputChannel, onInit, sendMessage, setErrorChannel, setErrorChannelName, setOutputChannel, setOutputChannelName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentNamepublic TcpConnectionEventListeningMessageProducer()
public void setEventTypes(Class<? extends TcpConnectionEvent>[] eventTypes)
eventTypes - The event types.public String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class IntegrationObjectSupportpublic void onApplicationEvent(TcpConnectionEvent event)
onApplicationEvent in interface ApplicationListener<TcpConnectionEvent>protected Message<TcpConnectionEvent> messageFromEvent(TcpConnectionEvent event)