When merging akka.actor.Deploy instances using
on
the left one, this is propagated to “merging” scopes in the same way.withFallback()
When merging akka.actor.Deploy instances using
on
the left one, this is propagated to “merging” scopes in the same way.
The setup is biased towards preferring the callee over the argument, i.e.
withFallback()
is called expecting that a.withFallback(b)
should in general take
precedence.
a
The scope of a akka.actor.Deploy serves two purposes: as a marker for pattern matching the “scope” (i.e. local/remote/cluster) as well as for extending the information carried by the final Deploy class. Scopes can be used in conjunction with a custom akka.actor.ActorRefProvider, making Akka actors fully extensible.