Interface RequiresMessageQueue<T>

All Known Subinterfaces:
AbstractPersistentActorLike, AsyncWriteProxy, AtLeastOnceDelivery, AtLeastOnceDeliveryLike, Eventsourced, PersistenceStash, PersistentActor, PersistentFSM<S,D,E>, Stash, UnboundedStash
All Known Implementing Classes:
AbstractActorWithStash, AbstractActorWithUnboundedStash, AbstractFSMWithStash, AbstractPersistentActor, AbstractPersistentActorWithAtLeastOnceDelivery, AbstractPersistentActorWithTimers, AbstractPersistentFSM, AbstractPersistentLoggingFSM, ActorTransportAdapterManager, DefaultOSGiLogger, JournalPerfSpec.BenchActor, Logging.DefaultLogger, PersistencePluginProxy, PersistentShardCoordinator, Player.Waiter, SimpleDnsManager, Slf4jLogger, TestEventListener, UntypedAbstractActorWithStash, UntypedAbstractActorWithUnboundedStash

public interface RequiresMessageQueue<T>
Trait to signal that an Actor requires a certain type of message queue semantics.

The mailbox type will be looked up by mapping the type T via pekko.actor.mailbox.requirements in the config, to a mailbox configuration. If no mailbox is assigned on Props or in deployment config then this one will be used.

The queue type of the created mailbox will be checked against the type T and actor creation will fail if it doesn't fulfill the requirements.