Table of Contents

Class Acknowledgeable

Namespace
Savvyio.Messaging
Assembly
Savvyio.Messaging.dll

Provides a default implementation of the IAcknowledgeable interface.

public abstract class Acknowledgeable : IAcknowledgeable, IEquatable<Acknowledgeable>
Inheritance
Object
Acknowledgeable
Implements
IEquatable<Acknowledgeable>
Derived

Constructors

Acknowledgeable()

Initializes a new instance of the Acknowledgeable class.

protected Acknowledgeable()

Properties

Properties

Share state between components during message processing.

public IDictionary<string, object> Properties { get; }

Property Value

IDictionary<String, Object>

The state between components during message processing.

Methods

AcknowledgeAsync()

Acknowledges that this message was processed successfully.

public async Task AcknowledgeAsync()

Returns

Task

A task that represents the asynchronous operation.

OnAcknowledgedAsync(AcknowledgedEventArgs)

Raises the Acknowledged event.

protected virtual async Task OnAcknowledgedAsync(AcknowledgedEventArgs e)

Parameters

e AcknowledgedEventArgs

The AcknowledgedEventArgs instance containing the event data.

Returns

Task

Events

Acknowledged

Occurs when the method AcknowledgeAsync() is called.

public event AsyncEventHandler<AcknowledgedEventArgs> Acknowledged

Event Type

AsyncEventHandler<AcknowledgedEventArgs>