Class EventSourcedProducerQueue
A DurableProducerQueue implementation that can be used with ProducerController for reliable delivery of messages. It is implemented with event-sourcing and stores one event before sending the message to the destination and one event for the confirmation that the message has been delivered and processed.
Inherited Members
Namespace: Akka.Persistence.Delivery
Assembly: Akka.Persistence.dll
Syntax
public static class EventSourcedProducerQueue
Methods
| Improve this Doc View SourceCreate<T>(String, IActorRefFactory)
Creates Props for an Akka.Persistence.Delivery.EventSourcedProducerQueue`1 that can be passed to a ProducerController for reliable message delivery.
Declaration
public static Props Create<T>(string persistentId, IActorRefFactory system)
Parameters
Type | Name | Description |
---|---|---|
String | persistentId | The Akka.Persistence id used by this actor - must be globally unique. |
IActorRefFactory | system | The ActorSystem or IActorContext this actor might be created under. This value is only used to load the EventSourcedProducerQueue.Settings. |
Returns
Type | Description |
---|---|
Props |
Type Parameters
Name | Description |
---|---|
T | The type of message that is supported by the ProducerController. |
Create<T>(String, EventSourcedProducerQueue.Settings)
Creates Props for an Akka.Persistence.Delivery.EventSourcedProducerQueue`1 that can be passed to a ProducerController for reliable message delivery.
Declaration
public static Props Create<T>(string persistentId, EventSourcedProducerQueue.Settings settings)
Parameters
Type | Name | Description |
---|---|---|
String | persistentId | The Akka.Persistence id used by this actor - must be globally unique. |
EventSourcedProducerQueue.Settings | settings | The settings for this producer queue. |
Returns
Type | Description |
---|---|
Props |
Type Parameters
Name | Description |
---|---|
T | The type of message that is supported by the ProducerController. |