Class MethodRabbitListenerEndpoint
public class MethodRabbitListenerEndpoint : AbstractRabbitListenerEndpoint, IRabbitListenerEndpoint
- Inheritance
-
MethodRabbitListenerEndpoint
- Implements
- Derived
- Inherited Members
Constructors
MethodRabbitListenerEndpoint(IApplicationContext, MethodInfo, object, ILoggerFactory)
public MethodRabbitListenerEndpoint(IApplicationContext applicationContext, MethodInfo method, object instance, ILoggerFactory loggerFactory = null)
Parameters
applicationContext
IApplicationContextmethod
MethodInfoinstance
objectloggerFactory
ILoggerFactory
Properties
ErrorHandler
public IRabbitListenerErrorHandler ErrorHandler { get; set; }
Property Value
Instance
public object Instance { get; set; }
Property Value
MessageHandlerMethodFactory
public IMessageHandlerMethodFactory MessageHandlerMethodFactory { get; set; }
Property Value
Method
public MethodInfo Method { get; set; }
Property Value
ReturnExceptions
public bool ReturnExceptions { get; set; }
Property Value
Methods
ConfigureListenerAdapter(MessagingMessageListenerAdapter)
protected virtual HandlerAdapter ConfigureListenerAdapter(MessagingMessageListenerAdapter messageListener)
Parameters
messageListener
MessagingMessageListenerAdapter
Returns
CreateMessageListener(IMessageListenerContainer)
protected override IMessageListener CreateMessageListener(IMessageListenerContainer container)
Parameters
container
IMessageListenerContainer
Returns
CreateMessageListenerInstance()
protected virtual MessagingMessageListenerAdapter CreateMessageListenerInstance()
Returns
GetEndpointDescription()
protected override StringBuilder GetEndpointDescription()