public static class DistributedPubSubMediator.Internal$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DistributedPubSubMediator.Internal$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Internal$() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
encName(java.lang.String s) |
java.lang.String |
mkKey(ActorPath path) |
java.lang.String |
mkKey(ActorRef ref) |
scala.Function1<java.lang.Object,java.lang.Object> |
wrapIfNeeded()
Mediator uses
Router to send messages to multiple destinations, Router in general
unwraps messages from RouterEnvelope and sends the contents to Routee s. |
public static final DistributedPubSubMediator.Internal$ MODULE$
public java.lang.String encName(java.lang.String s)
public java.lang.String mkKey(ActorRef ref)
public java.lang.String mkKey(ActorPath path)
public scala.Function1<java.lang.Object,java.lang.Object> wrapIfNeeded()
Router
to send messages to multiple destinations, Router in general
unwraps messages from RouterEnvelope
and sends the contents to Routee
s.
Using mediator services should not have an undesired effect of unwrapping messages
out of RouterEnvelope
. For this reason user messages are wrapped in
DistributedPubSubMediator.Internal$.MediatorRouterEnvelope
which will be unwrapped by the Router
leaving original
user message.