public class ReactiveStreamsConsumer extends AbstractEndpoint implements IntegrationConsumer
lifecycleCondition, lifecycleLockEXPRESSION_PARSER, loggerDEFAULT_PHASE| Constructor and Description |
|---|
ReactiveStreamsConsumer(MessageChannel inputChannel,
MessageHandler messageHandler) |
ReactiveStreamsConsumer(MessageChannel inputChannel,
org.reactivestreams.Subscriber<Message<?>> subscriber) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart()
Subclasses must implement this method with the start behavior.
|
protected void |
doStop()
Subclasses must implement this method with the stop behavior.
|
MessageHandler |
getHandler()
Return the consumer's handler.
|
MessageChannel |
getInputChannel()
Return the input channel.
|
MessageChannel |
getOutputChannel()
Return the output channel (may be null).
|
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setErrorHandler(ErrorHandler errorHandler) |
destroy, doStop, getPhase, getRole, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stopafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBeanName, getComponentName, getComponentTypepublic ReactiveStreamsConsumer(MessageChannel inputChannel, MessageHandler messageHandler)
public ReactiveStreamsConsumer(MessageChannel inputChannel, org.reactivestreams.Subscriber<Message<?>> subscriber)
public void setErrorHandler(ErrorHandler errorHandler)
public MessageChannel getInputChannel()
IntegrationConsumergetInputChannel in interface IntegrationConsumerpublic MessageChannel getOutputChannel()
IntegrationConsumergetOutputChannel in interface IntegrationConsumerpublic MessageHandler getHandler()
IntegrationConsumergetHandler in interface IntegrationConsumerprotected void onInit()
IntegrationObjectSupportonInit in class AbstractEndpointprotected void doStart()
AbstractEndpointAbstractEndpoint.lifecycleLock.doStart in class AbstractEndpointprotected void doStop()
AbstractEndpointAbstractEndpoint.lifecycleLock.doStop in class AbstractEndpoint