Class MessageProducerSupportEndpoint
Inheritance
System.Object
MessageProducerSupportEndpoint
Implements
IServiceNameAware
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public abstract class MessageProducerSupportEndpoint : AbstractEndpoint, IMessageProducer
Constructors
|
Edit this page
View Source
MessageProducerSupportEndpoint(IApplicationContext, ILogger)
Declaration
protected MessageProducerSupportEndpoint(IApplicationContext context, ILogger logger = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
ILogger |
logger |
|
Fields
|
Edit this page
View Source
_lock
Declaration
Field Value
Type |
Description |
System.Object |
|
Properties
|
Edit this page
View Source
ErrorChannel
Declaration
public virtual IMessageChannel ErrorChannel { get; set; }
Property Value
Type |
Description |
IMessageChannel |
|
|
Edit this page
View Source
ErrorChannelName
Declaration
public virtual string ErrorChannelName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ErrorMessageStrategy
Declaration
public virtual IErrorMessageStrategy ErrorMessageStrategy { get; set; }
Property Value
|
Edit this page
View Source
MessagingTemplate
Declaration
protected virtual MessagingTemplate MessagingTemplate { get; }
Property Value
|
Edit this page
View Source
OutputChannel
Declaration
public virtual IMessageChannel OutputChannel { get; set; }
Property Value
Type |
Description |
IMessageChannel |
|
|
Edit this page
View Source
OutputChannelName
Declaration
public virtual string OutputChannelName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
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
BuildErrorMessage(IMessage, Exception)
Declaration
protected ErrorMessage BuildErrorMessage(IMessage message, Exception exception)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Exception |
exception |
|
Returns
Type |
Description |
ErrorMessage |
|
|
Edit this page
View Source
DoStart()
Declaration
protected override Task DoStart()
Returns
Overrides
|
Edit this page
View Source
DoStop()
Declaration
protected override Task DoStop()
Returns
Overrides
|
Edit this page
View Source
GetErrorMessageAttributes(IMessage)
Declaration
protected virtual IAttributeAccessor GetErrorMessageAttributes(IMessage message)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Returns
Type |
Description |
IAttributeAccessor |
|
|
Edit this page
View Source
SendErrorMessageIfNecessary(IMessage, Exception)
Declaration
protected bool SendErrorMessageIfNecessary(IMessage message, Exception exception)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Exception |
exception |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
SendMessage(IMessage)
Declaration
protected virtual void SendMessage(IMessage messageArg)
Parameters
Type |
Name |
Description |
IMessage |
messageArg |
|
Implements
IServiceNameAware