Interface ListenerContainerAware
- All Known Implementing Classes:
BatchingRabbitTemplate,RabbitTemplate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
MessageListeners that also implement this
interface can have configuration verified during initialization.- Since:
- 1.5
-
Method Summary
Modifier and TypeMethodDescriptionReturn the queue names that the listener expects to listen to.
-
Method Details
-
expectedQueueNames
Collection<String> expectedQueueNames()Return the queue names that the listener expects to listen to.- Returns:
- the queue names.
-