Interface Endpoint

All Known Subinterfaces:
HandlerMethodEndpoint
All Known Implementing Classes:
AbstractEndpoint, SqsEndpoint

public interface Endpoint
Represents a messaging endpoint from which messages can be consumed by a MessageListenerContainer.
Since:
3.0
Author:
Tomaz Fernandes
  • Method Details

    • getLogicalNames

      Collection<String> getLogicalNames()
      The logical names for this endpoint.
      Returns:
      the logical names.
    • getListenerContainerFactoryName

      @Nullable String getListenerContainerFactoryName()
      The name of the factory bean that will process this endpoint.
      Returns:
      the factory bean name.
    • getId

      @Nullable String getId()
      An optional id for this endpoint.
      Returns:
      the endpoint id.
    • setupContainer

      <T> void setupContainer(MessageListenerContainer<T> container)
      Set up the necessary attributes for the container to process this endpoint.
      Parameters:
      container - the container to be configured.