который, по-видимому, остается открытым.
бую следующее:
class ClientActor (stockActor: ActorSelection, paymentsActor: ActorSelection) extends PersistentActor
with AtLeastOnceDelivery with akka.actor.ActorLogging with RequiresMessageQueue[akka.custom.CustomMailbox]{
//actor implementation
}
Я получаю ошибку:
illegal inheritance;
self-type Shopping.ClientActor does not conform to akka.dispatch.RequiresMessageQueue[akka.custom.CustomMailbox]'s selftype akka.dispatch.RequiresMessageQueue[akka.custom.CustomMailbox]
with AtLeastOnceDelivery with akka.actor.ActorLogging with RequiresMessageQueue[akka.custom.CustomMailbox]{
То же самое работает с непостоянным актером:
class PaymentsActor extends Actor with akka.actor.ActorLogging with RequiresMessageQueue[akka.custom.CustomMailbox] {
// actor implementation
}