Class RepublishMessageRecoverer
Inheritance
System.Object
RepublishMessageRecoverer
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public class RepublishMessageRecoverer : object, IMessageRecoverer
Constructors
|
Edit this page
View Source
RepublishMessageRecoverer(RabbitTemplate, ILogger)
Declaration
public RepublishMessageRecoverer(RabbitTemplate errorTemplate, ILogger logger = null)
Parameters
|
Edit this page
View Source
RepublishMessageRecoverer(RabbitTemplate, String, ILogger)
Declaration
public RepublishMessageRecoverer(RabbitTemplate errorTemplate, string errorExchange, ILogger logger = null)
Parameters
Type |
Name |
Description |
RabbitTemplate |
errorTemplate |
|
System.String |
errorExchange |
|
ILogger |
logger |
|
|
Edit this page
View Source
RepublishMessageRecoverer(RabbitTemplate, String, String, ILogger)
Declaration
public RepublishMessageRecoverer(RabbitTemplate errorTemplate, string errorExchange, string errorRoutingKey, ILogger logger = null)
Parameters
Type |
Name |
Description |
RabbitTemplate |
errorTemplate |
|
System.String |
errorExchange |
|
System.String |
errorRoutingKey |
|
ILogger |
logger |
|
Fields
|
Edit this page
View Source
DEFAULT_FRAME_MAX_HEADROOM
Declaration
public const int DEFAULT_FRAME_MAX_HEADROOM = null
Field Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
X_EXCEPTION_MESSAGE
Declaration
public const string X_EXCEPTION_MESSAGE = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
X_EXCEPTION_STACKTRACE
Declaration
public const string X_EXCEPTION_STACKTRACE = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
X_ORIGINAL_EXCHANGE
Declaration
public const string X_ORIGINAL_EXCHANGE = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
X_ORIGINAL_ROUTING_KEY
Declaration
public const string X_ORIGINAL_ROUTING_KEY = null
Field Value
Type |
Description |
System.String |
|
Properties
|
Edit this page
View Source
DeliveryMode
Declaration
public MessageDeliveryMode DeliveryMode { get; set; }
Property Value
|
Edit this page
View Source
ErrorExchangeName
Declaration
public string ErrorExchangeName { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ErrorRoutingKey
Declaration
public string ErrorRoutingKey { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ErrorRoutingKeyPrefix
Declaration
public string ErrorRoutingKeyPrefix { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ErrorTemplate
Declaration
public RabbitTemplate ErrorTemplate { get; }
Property Value
|
Edit this page
View Source
FrameMaxHeadroom
Declaration
public int FrameMaxHeadroom { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
MaxStackTraceLength
Declaration
public int MaxStackTraceLength { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
Declaration
protected virtual Dictionary<string, object> AddAdditionalHeaders(IMessage message, Exception cause)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Exception |
cause |
|
Returns
Type |
Description |
Dictionary<System.String, System.Object> |
|
|
Edit this page
View Source
Recover(IMessage, Exception)
Declaration
public void Recover(IMessage message, Exception exception)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Exception |
exception |
|
Implements