Class RabbitListenerEndpointRegistrar
public class RabbitListenerEndpointRegistrar : IRabbitListenerEndpointRegistrar, IServiceNameAware
- Inheritance
-
RabbitListenerEndpointRegistrar
- Implements
- Inherited Members
Constructors
RabbitListenerEndpointRegistrar(IMessageHandlerMethodFactory)
public RabbitListenerEndpointRegistrar(IMessageHandlerMethodFactory messageHandlerMethodFactory = null)
Parameters
messageHandlerMethodFactory
IMessageHandlerMethodFactory
Fields
DEFAULT_SERVICE_NAME
public const string DEFAULT_SERVICE_NAME = "RabbitListenerEndpointRegistrar"
Field Value
Properties
ApplicationContext
public IApplicationContext ApplicationContext { get; set; }
Property Value
ContainerFactory
public IRabbitListenerContainerFactory ContainerFactory { get; set; }
Property Value
ContainerFactoryServiceName
public string ContainerFactoryServiceName { get; set; }
Property Value
EndpointRegistry
public IRabbitListenerEndpointRegistry EndpointRegistry { get; set; }
Property Value
MessageHandlerMethodFactory
public IMessageHandlerMethodFactory MessageHandlerMethodFactory { get; set; }
Property Value
ServiceName
public string ServiceName { get; set; }
Property Value
StartImmediately
public bool StartImmediately { get; set; }
Property Value
Methods
Initialize()
public void Initialize()
RegisterAllEndpoints()
protected void RegisterAllEndpoints()
RegisterEndpoint(IRabbitListenerEndpoint)
public void RegisterEndpoint(IRabbitListenerEndpoint endpoint)
Parameters
endpoint
IRabbitListenerEndpoint
RegisterEndpoint(IRabbitListenerEndpoint, IRabbitListenerContainerFactory)
public void RegisterEndpoint(IRabbitListenerEndpoint endpoint, IRabbitListenerContainerFactory factory)
Parameters
endpoint
IRabbitListenerEndpointfactory
IRabbitListenerContainerFactory