public class ReactiveConsumer extends AbstractEndpoint
lifecycleCondition, lifecycleLock
EXPRESSION_PARSER, logger
Constructor and Description |
---|
ReactiveConsumer(MessageChannel inputChannel,
MessageHandler messageHandler) |
ReactiveConsumer(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.
|
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setErrorHandler(ErrorHandler errorHandler) |
doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, toString
public ReactiveConsumer(MessageChannel inputChannel, MessageHandler messageHandler)
public ReactiveConsumer(MessageChannel inputChannel, org.reactivestreams.Subscriber<Message<?>> subscriber)
public void setErrorHandler(ErrorHandler errorHandler)
protected void onInit() throws Exception
IntegrationObjectSupport
onInit
in class IntegrationObjectSupport
Exception
- Any exception.protected void doStart()
AbstractEndpoint
AbstractEndpoint.lifecycleLock
.doStart
in class AbstractEndpoint
protected void doStop()
AbstractEndpoint
AbstractEndpoint.lifecycleLock
.doStop
in class AbstractEndpoint