Table of Contents

Class RabbitListenerEndpointRegistrar

Namespace
Steeltoe.Messaging.RabbitMQ.Listener
Assembly
Steeltoe.Messaging.RabbitMQ.dll
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

string

Properties

ApplicationContext

public IApplicationContext ApplicationContext { get; set; }

Property Value

IApplicationContext

ContainerFactory

public IRabbitListenerContainerFactory ContainerFactory { get; set; }

Property Value

IRabbitListenerContainerFactory

ContainerFactoryServiceName

public string ContainerFactoryServiceName { get; set; }

Property Value

string

EndpointRegistry

public IRabbitListenerEndpointRegistry EndpointRegistry { get; set; }

Property Value

IRabbitListenerEndpointRegistry

MessageHandlerMethodFactory

public IMessageHandlerMethodFactory MessageHandlerMethodFactory { get; set; }

Property Value

IMessageHandlerMethodFactory

ServiceName

public string ServiceName { get; set; }

Property Value

string

StartImmediately

public bool StartImmediately { get; set; }

Property Value

bool

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 IRabbitListenerEndpoint
factory IRabbitListenerContainerFactory