Class MethodAmqpListenerEndpoint

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

public class MethodAmqpListenerEndpoint extends AbstractAmqpListenerEndpoint
The AbstractAmqpListenerEndpoint implementation for POJO method invocation listener. Usually, instances of this class are created and handled by the framework.

The setMessageHandlerMethodFactory(MessageHandlerMethodFactory) and setBeanFactory(BeanFactory) must be provided before calling getMessageListener(). If other options have to be propagated to the AmqpMessagingListenerAdapter, they have to be provided prior to getMessageListener() call.

If this class is configured by the framework, any not provided options will be populated with default values from the MethodAmqpMessageListenerContainerFactory (if any).

Since:
4.1
Author:
Artem Bilan