Class RabbitListenerAttributeProcessor
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class RabbitListenerAttributeProcessor : IRabbitListenerAttributeProcessor, IServiceNameAware, IOrdered
- Inheritance
-
RabbitListenerAttributeProcessor
- Implements
- Inherited Members
Constructors
RabbitListenerAttributeProcessor(IApplicationContext, IRabbitListenerEndpointRegistry, IRabbitListenerEndpointRegistrar, IMessageHandlerMethodFactory, IEnumerable<RabbitListenerMetadata>, ILoggerFactory)
public RabbitListenerAttributeProcessor(IApplicationContext applicationContext, IRabbitListenerEndpointRegistry endpointRegistry, IRabbitListenerEndpointRegistrar registrar, IMessageHandlerMethodFactory messageHandlerMethodFactory, IEnumerable<RabbitListenerMetadata> rabbitListeners, ILoggerFactory loggerFactory = null)
Parameters
applicationContextIApplicationContextendpointRegistryIRabbitListenerEndpointRegistryregistrarIRabbitListenerEndpointRegistrarmessageHandlerMethodFactoryIMessageHandlerMethodFactoryrabbitListenersIEnumerable<RabbitListenerMetadata>loggerFactoryILoggerFactory
Fields
DEFAULT_SERVICE_NAME
public const string DEFAULT_SERVICE_NAME = "RabbitListenerAttributeProcessor"
Field Value
Properties
ApplicationContext
public IApplicationContext ApplicationContext { get; set; }
Property Value
Charset
public Encoding Charset { get; set; }
Property Value
ContainerFactoryServiceName
public string ContainerFactoryServiceName { get; set; }
Property Value
EndpointRegistry
public IRabbitListenerEndpointRegistry EndpointRegistry { get; }
Property Value
ExpressionContext
public IServiceExpressionContext ExpressionContext { get; set; }
Property Value
Order
Gets the order of this object
public int Order { get; }
Property Value
Registrar
public IRabbitListenerEndpointRegistrar Registrar { get; }
Property Value
Resolver
public IServiceExpressionResolver Resolver { get; set; }
Property Value
ServiceName
public string ServiceName { get; set; }
Property Value
ServiceResolver
public IServiceResolver ServiceResolver { get; set; }
Property Value
Methods
Initialize()
public void Initialize()
ProcessListener(MethodRabbitListenerEndpoint, RabbitListenerAttribute, object, object, string)
protected void ProcessListener(MethodRabbitListenerEndpoint endpoint, RabbitListenerAttribute rabbitListener, object bean, object target, string beanName)
Parameters
endpointMethodRabbitListenerEndpointrabbitListenerRabbitListenerAttributebeanobjecttargetobjectbeanNamestring
ProcessMultiMethodListeners(List<RabbitListenerAttribute>, List<MethodInfo>, object, string)
protected void ProcessMultiMethodListeners(List<RabbitListenerAttribute> classLevelListeners, List<MethodInfo> multiMethods, object bean, string beanName)
Parameters
classLevelListenersList<RabbitListenerAttribute>multiMethodsList<MethodInfo>beanobjectbeanNamestring