Package akka.persistence.typed.delivery
Class EventSourcedProducerQueue$
- java.lang.Object
-
- akka.persistence.typed.delivery.EventSourcedProducerQueue$
-
public class EventSourcedProducerQueue$ extends java.lang.Object
DurableProducerQueue
that can be used withProducerController
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.The
DurableProducerQueue.LoadState
request is used at startup to retrieve the unconfirmed messages.
-
-
Field Summary
Fields Modifier and Type Field Description static EventSourcedProducerQueue$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EventSourcedProducerQueue$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A> Behavior<DurableProducerQueue.Command<A>>
apply(PersistenceId persistenceId)
<A> Behavior<DurableProducerQueue.Command<A>>
apply(PersistenceId persistenceId, EventSourcedProducerQueue.Settings settings)
<A> Behavior<DurableProducerQueue.Command<A>>
create(PersistenceId persistenceId)
Java API<A> Behavior<DurableProducerQueue.Command<A>>
create(PersistenceId persistenceId, EventSourcedProducerQueue.Settings settings)
Java API
-
-
-
Field Detail
-
MODULE$
public static final EventSourcedProducerQueue$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <A> Behavior<DurableProducerQueue.Command<A>> apply(PersistenceId persistenceId)
-
apply
public <A> Behavior<DurableProducerQueue.Command<A>> apply(PersistenceId persistenceId, EventSourcedProducerQueue.Settings settings)
-
create
public <A> Behavior<DurableProducerQueue.Command<A>> create(PersistenceId persistenceId)
Java API
-
create
public <A> Behavior<DurableProducerQueue.Command<A>> create(PersistenceId persistenceId, EventSourcedProducerQueue.Settings settings)
Java API
-
-