Interface MessageListenerContainerFactory<C extends MessageListenerContainer<?>>

Type Parameters:
C - the MessageListenerContainer type.
All Known Implementing Classes:
AbstractMessageListenerContainerFactory, SqsMessageListenerContainerFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MessageListenerContainerFactory<C extends MessageListenerContainer<?>>
Creates MessageListenerContainer instances for given Endpoint instances or endpoint names.
Since:
3.0
Author:
Tomaz Fernandes
  • Method Summary

    Modifier and Type
    Method
    Description
    default C
    Create a container instance for the given Endpoint.
    createContainer(String... logicalEndpointNames)
    Create a container instance for the given endpoint names.
  • Method Details

    • createContainer

      C createContainer(String... logicalEndpointNames)
      Create a container instance for the given endpoint names.
      Parameters:
      logicalEndpointNames - the names.
      Returns:
      the container instance.
    • createContainer

      default C createContainer(Endpoint endpoint)
      Create a container instance for the given Endpoint.
      Parameters:
      endpoint - the endpoint.
      Returns:
      the container instance.