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
  • Method Summary

    Modifier and Type Method Description
    org.springframework.messaging.MessageHandler getHandler()
    Return the consumer's handler.
    org.springframework.messaging.MessageChannel getInputChannel()
    Return the input channel.
    org.springframework.messaging.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

      org.springframework.messaging.MessageChannel getInputChannel()
      Return the input channel.
      Returns:
      the input channel.
    • getOutputChannel

      org.springframework.messaging.MessageChannel getOutputChannel()
      Return the output channel (may be null).
      Returns:
      the output channel.
    • getHandler

      org.springframework.messaging.MessageHandler getHandler()
      Return the consumer's handler.
      Returns:
      the handler.