Package io.awspring.cloud.sqs.config
Interface MessageListenerContainerFactory<C extends MessageListenerContainer<?>>
- Type Parameters:
C- theMessageListenerContainertype.
- 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 TypeMethodDescriptiondefault CcreateContainer(Endpoint endpoint) Create a container instance for the givenEndpoint.createContainer(String... logicalEndpointNames) Create a container instance for the given endpoint names.
-
Method Details
-
createContainer
Create a container instance for the given endpoint names.- Parameters:
logicalEndpointNames- the names.- Returns:
- the container instance.
-
createContainer
Create a container instance for the givenEndpoint.- Parameters:
endpoint- the endpoint.- Returns:
- the container instance.
-