Interface IntegrationConsumer
- All Superinterfaces:
NamedComponent
- All Known Implementing Classes:
EventDrivenConsumer
,PollingConsumer
,ReactiveStreamsConsumer
Message consumers implement this interface, the message handler within a consumer
may or may not emit output messages.
- Since:
- 4.3
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionReturn the consumer's handler.Return the input channel.Return the output channel (may be null).Methods inherited from interface org.springframework.integration.support.context.NamedComponent
getBeanName, getComponentName, getComponentType
-
Method Details
-
getInputChannel
MessageChannel getInputChannel()Return the input channel.- Returns:
- the input channel.
-
getOutputChannel
MessageChannel getOutputChannel()Return the output channel (may be null).- Returns:
- the output channel.
-
getHandler
MessageHandler getHandler()Return the consumer's handler.- Returns:
- the handler.
-