Class ErrorMessagePublisher
Inheritance
System.Object
ErrorMessagePublisher
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public class ErrorMessagePublisher : object
Constructors
|
Edit this page
View Source
ErrorMessagePublisher(IApplicationContext, ILogger)
Declaration
public ErrorMessagePublisher(IApplicationContext context, ILogger logger = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
ILogger |
logger |
|
Fields
|
Edit this page
View Source
_logger
Declaration
protected readonly ILogger _logger
Field Value
|
Edit this page
View Source
_messagingTemplate
Declaration
protected readonly MessagingTemplate _messagingTemplate
Field Value
Properties
|
Edit this page
View Source
Channel
Declaration
public virtual IMessageChannel Channel { get; set; }
Property Value
Type |
Description |
IMessageChannel |
|
|
Edit this page
View Source
ChannelName
Declaration
public virtual string ChannelName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ChannelResolver
Declaration
public virtual IDestinationResolver<IMessageChannel> ChannelResolver { get; set; }
Property Value
Type |
Description |
IDestinationResolver<IMessageChannel> |
|
|
Edit this page
View Source
ErrorMessageStrategy
Declaration
public virtual IErrorMessageStrategy ErrorMessageStrategy { get; set; }
Property Value
|
Edit this page
View Source
IntegrationServices
Declaration
public IIntegrationServices IntegrationServices { get; }
Property Value
|
Edit this page
View Source
MessagingTemplate
Declaration
protected virtual MessagingTemplate MessagingTemplate { get; }
Property Value
|
Edit this page
View Source
SendTimeout
Declaration
public virtual int SendTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
DeterminePayload(Exception, IAttributeAccessor)
Declaration
protected virtual Exception DeterminePayload(Exception exception, IAttributeAccessor context)
Parameters
Type |
Name |
Description |
Exception |
exception |
|
IAttributeAccessor |
context |
|
Returns
Type |
Description |
Exception |
|
|
Edit this page
View Source
PayloadWhenNull(IAttributeAccessor)
Declaration
protected virtual Exception PayloadWhenNull(IAttributeAccessor context)
Parameters
Type |
Name |
Description |
IAttributeAccessor |
context |
|
Returns
Type |
Description |
Exception |
|
|
Edit this page
View Source
Publish(Exception, IAttributeAccessor)
Declaration
public virtual void Publish(Exception exception, IAttributeAccessor context)
Parameters
Type |
Name |
Description |
Exception |
exception |
|
IAttributeAccessor |
context |
|
|
Edit this page
View Source
Publish(IMessage, Exception)
Declaration
public virtual void Publish(IMessage failedMessage, Exception throwable)
Parameters
Type |
Name |
Description |
IMessage |
failedMessage |
|
Exception |
throwable |
|
|
Edit this page
View Source
Publish(IMessage, IMessage, Exception)
Declaration
public virtual void Publish(IMessage inputMessage, IMessage failedMessage, Exception exception)
Parameters
Type |
Name |
Description |
IMessage |
inputMessage |
|
IMessage |
failedMessage |
|
Exception |
exception |
|
|
Edit this page
View Source
Publish(IMessage, MessagingException)
Declaration
public virtual void Publish(IMessage inputMessage, MessagingException exception)
Parameters
Type |
Name |
Description |
IMessage |
inputMessage |
|
MessagingException |
exception |
|
|
Edit this page
View Source
Publish(MessagingException)
Declaration
public virtual void Publish(MessagingException exception)
Parameters
Type |
Name |
Description |
MessagingException |
exception |
|