Class SimpleAmqpListenerEndpoint
java.lang.Object
org.springframework.amqp.client.config.AbstractAmqpListenerEndpoint
org.springframework.amqp.client.config.SimpleAmqpListenerEndpoint
- All Implemented Interfaces:
AmqpListenerEndpoint
The
AbstractAmqpListenerEndpoint implementation for MessageListener.
Usually makes sense for programmatic AmqpMessageListenerContainer
registration.- Since:
- 4.1
- Author:
- Artem Bilan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleAmqpListenerEndpoint(MessageListener messageListener, String... addresses) -
Method Summary
Modifier and TypeMethodDescriptionReturn the message listener to be used in the target listener container bean.Methods inherited from class AbstractAmqpListenerEndpoint
getAddresses, getAdviceChain, getAutoAccept, getAutoStartup, getConcurrency, getGracefulShutdownPeriod, getId, getInitialCredits, getReceiveTimeout, getTaskExecutor, setAdviceChain, setAutoAccept, setAutoStartup, setConcurrency, setGracefulShutdownPeriod, setId, setInitialCredits, setReceiveTimeout, setTaskExecutor
-
Constructor Details
-
SimpleAmqpListenerEndpoint
-
-
Method Details
-
getMessageListener
Description copied from interface:AmqpListenerEndpointReturn the message listener to be used in the target listener container bean.- Returns:
- the message listener.
-