Class SimpleAmqpListenerEndpoint

java.lang.Object
org.springframework.amqp.client.config.AbstractAmqpListenerEndpoint
org.springframework.amqp.client.config.SimpleAmqpListenerEndpoint
All Implemented Interfaces:
AmqpListenerEndpoint

public class SimpleAmqpListenerEndpoint extends AbstractAmqpListenerEndpoint
The AbstractAmqpListenerEndpoint implementation for MessageListener. Usually makes sense for programmatic AmqpMessageListenerContainer registration.
Since:
4.1
Author:
Artem Bilan
See Also:
  • Constructor Details

    • SimpleAmqpListenerEndpoint

      public SimpleAmqpListenerEndpoint(MessageListener messageListener, String... addresses)
  • Method Details

    • getMessageListener

      public MessageListener getMessageListener()
      Description copied from interface: AmqpListenerEndpoint
      Return the message listener to be used in the target listener container bean.
      Returns:
      the message listener.