Package akka.actor.typed.delivery
Class ConsumerController.Delivery<A>
- java.lang.Object
-
- akka.actor.typed.delivery.ConsumerController.Delivery<A>
-
- Enclosing class:
- ConsumerController
public static final class ConsumerController.Delivery<A> extends java.lang.Object
Received messages from the producer are wrapped inDelivery
when sent to the consumer. When the message has been processed the consumer is supposed to sendConsumerController.Confirmed
back to theConsumerController
via theconfirmTo
.
-
-
Constructor Summary
Constructors Constructor Description Delivery(A message, ActorRef<ConsumerController.Confirmed> confirmTo, java.lang.String producerId, long seqNr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorRef<ConsumerController.Confirmed>
confirmTo()
A
message()
java.lang.String
producerId()
long
seqNr()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Delivery
public Delivery(A message, ActorRef<ConsumerController.Confirmed> confirmTo, java.lang.String producerId, long seqNr)
-
-
Method Detail
-
message
public A message()
-
confirmTo
public ActorRef<ConsumerController.Confirmed> confirmTo()
-
producerId
public java.lang.String producerId()
-
seqNr
public long seqNr()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-