Interface ListenerContainerFactory
- All Known Implementing Classes:
DefaultListenerContainerFactory
public interface ListenerContainerFactory
Factory to create
AbstractMessageListenerContainer
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer
Creates the listener container to use for the consumer.
-
Method Details
-
createListenerContainer
org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer createListenerContainer(SpringRabbitMQEndpoint endpoint) Creates the listener container to use for the consumer.- Parameters:
endpoint
- the endpoint- Returns:
- the created and configured listener container
-