Interface ListenerContainerAware

All Known Implementing Classes:
BatchingRabbitTemplate, RabbitTemplate, TestRabbitTemplate
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 ListenerContainerAware
MessageListeners that also implement this interface can have configuration verified during initialization.
Since:
1.5
Author:
Gary Russell
  • Method Summary

    Modifier and Type
    Method
    Description
    Return 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.