Interface IntegrationConsumer
- All Superinterfaces:
NamedComponent
- All Known Implementing Classes:
EventDrivenConsumer
,PollingConsumer
,ReactiveStreamsConsumer
public interface IntegrationConsumer extends NamedComponent
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 Type Method Description MessageHandler
getHandler()
Return the consumer's handler.MessageChannel
getInputChannel()
Return the input channel.MessageChannel
getOutputChannel()
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.
-