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 Detail

      • expectedQueueNames

        java.util.Collection<java.lang.String> expectedQueueNames()
        Return the queue names that the listener expects to listen to.
        Returns:
        the queue names.