akka.dispatch
Interface RequiresMessageQueue<T>

All Known Subinterfaces:
AsyncWriteProxy, AtLeastOnceDelivery, Creators.ActWithStash, Eventsourced, EventsourcedProcessor, PersistentActor, PersistentView, Processor, ProcessorImpl, Recovery, Stash, UnboundedStash, View
All Known Implementing Classes:
AbstractActorWithStash, AbstractActorWithUnboundedStash, AbstractEventsourcedProcessor, AbstractPersistentActor, AbstractPersistentActorWithAtLeastOnceDelivery, AbstractPersistentView, AbstractProcessor, AbstractView, ActorTransportAdapterManager, AkkaProtocolManager, ClientFSM, ClusterClient, ClusterCoreDaemon, ClusterCoreSupervisor, ClusterDaemon, ClusterDomainEventPublisher, ClusterRemoteWatcher, ClusterSingletonProxy, EndpointManager, InmemJournal, JournalPerfSpec.BenchActor, ProtocolStateActor, RemoteDeploymentWatcher, RemoteWatcher, Remoting.TransportSupervisor, RequestReader, RequestWriter, SelectionHandler, ShardCoordinator, SharedLeveldbJournal, TcpConnection, TcpIncomingConnection, TcpListener, TcpOutgoingConnection, ThrottledAssociation, ThrottlerManager, UdpConnection, UdpListener, UdpSender, UntypedActorWithStash, UntypedActorWithUnboundedStash, UntypedEventsourcedProcessor, UntypedPersistentActor, UntypedPersistentActorWithAtLeastOnceDelivery, UntypedPersistentView, UntypedProcessor, UntypedView

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 akka.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.