public interface RabbitListenerEndpoint
RabbitListenerConfigurer
to register endpoints programmatically.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroup() |
java.lang.String |
getId() |
void |
setupListenerContainer(MessageListenerContainer listenerContainer)
Setup the specified message listener container with the model
defined by this endpoint.
|
java.lang.String getId()
RabbitListenerContainerFactory.createListenerContainer(org.springframework.amqp.rabbit.listener.RabbitListenerEndpoint)
java.lang.String getGroup()
void setupListenerContainer(MessageListenerContainer listenerContainer)
This endpoint must provide the requested missing option(s) of
the specified container to make it usable. Usually, this is about
setting the queues
and the messageListener
to
use but an implementation may override any default setting that
was already set.
listenerContainer
- the listener container to configure