Class RabbitListenerEndpointRegistrar
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class RabbitListenerEndpointRegistrar : IRabbitListenerEndpointRegistrar, IServiceNameAware
- Inheritance
-
RabbitListenerEndpointRegistrar
- Implements
- Inherited Members
Constructors
RabbitListenerEndpointRegistrar(IMessageHandlerMethodFactory)
public RabbitListenerEndpointRegistrar(IMessageHandlerMethodFactory messageHandlerMethodFactory = null)
Parameters
messageHandlerMethodFactoryIMessageHandlerMethodFactory
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
endpointIRabbitListenerEndpoint
RegisterEndpoint(IRabbitListenerEndpoint, IRabbitListenerContainerFactory)
public void RegisterEndpoint(IRabbitListenerEndpoint endpoint, IRabbitListenerContainerFactory factory)
Parameters
endpointIRabbitListenerEndpointfactoryIRabbitListenerContainerFactory