Package io.awspring.cloud.sqs.config
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 Summary
Modifier and TypeMethodDescriptiongetId()
An optional id for this endpoint.The name of the factory bean that will process this endpoint.The logical names for this endpoint.<T> void
setupContainer
(MessageListenerContainer<T> container) Set up the necessary attributes for the container to process this endpoint.
-
Method Details
-
getLogicalNames
Collection<String> getLogicalNames()The logical names for this endpoint.- Returns:
- the logical names.
-
getListenerContainerFactoryName
The name of the factory bean that will process this endpoint.- Returns:
- the factory bean name.
-
getId
An optional id for this endpoint.- Returns:
- the endpoint id.
-
setupContainer
Set up the necessary attributes for the container to process this endpoint.- Parameters:
container
- the container to be configured.
-