Class AmqpListenerEndpointRegistration
java.lang.Object
org.springframework.amqp.client.config.AmqpListenerEndpointRegistration
The configuration container to trigger
AmqpMessageListenerContainer
bean registrations based on the provided AmqpListenerEndpoint instances
and AmqpMessageListenerContainerFactory.
If AmqpMessageListenerContainerFactory is not provided,
a bean with name AmqpDefaultConfiguration.DEFAULT_AMQP_LISTENER_CONTAINER_FACTORY_BEAN_NAME
is used by default.
The instance of this class can be declared as a bean, or used directly with the AmqpListenerEndpointRegistry.
- Since:
- 4.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAmqpListenerEndpointRegistration(AmqpListenerEndpoint... endpoints) AmqpListenerEndpointRegistration(AmqpMessageListenerContainerFactory factory, AmqpListenerEndpoint... endpoints) -
Method Summary
Modifier and TypeMethodDescriptionaddEndpoint(AmqpListenerEndpoint endpoint) @Nullable AmqpMessageListenerContainerFactory
-
Constructor Details
-
AmqpListenerEndpointRegistration
-
AmqpListenerEndpointRegistration
public AmqpListenerEndpointRegistration(AmqpMessageListenerContainerFactory factory, AmqpListenerEndpoint... endpoints)
-
-
Method Details
-
addEndpoint
-
getEndpoints
-
getContainerFactory
-