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
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleAmqpListenerEndpoint(org.springframework.amqp.core.MessageListener messageListener, String... addresses) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.amqp.core.MessageListenerReturn 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
public SimpleAmqpListenerEndpoint(org.springframework.amqp.core.MessageListener messageListener, String... addresses)
-
-
Method Details
-
getMessageListener
public org.springframework.amqp.core.MessageListener getMessageListener()Description copied from interface:AmqpListenerEndpointReturn the message listener to be used in the target listener container bean.- Returns:
- the message listener.
-