Class DistributedPubSubMediator.Internal$

java.lang.Object
org.apache.pekko.cluster.pubsub.DistributedPubSubMediator.Internal$
Enclosing class:
DistributedPubSubMediator

public static class DistributedPubSubMediator.Internal$ extends Object
INTERNAL API
  • Field Details

  • Constructor Details

    • Internal$

      public Internal$()
  • Method Details

    • encName

      public String encName(String s)
    • mkKey

      public String mkKey(ActorRef ref)
    • mkKey

      public String mkKey(ActorPath path)
    • wrapIfNeeded

      public scala.Function1<Object,Object> wrapIfNeeded()
      Mediator uses pekko.routing.Router to send messages to multiple destinations, Router in general unwraps messages from pekko.routing.RouterEnvelope and sends the contents to pekko.routing.Routees.

      Using mediator services should not have an undesired effect of unwrapping messages out of pekko.routing.RouterEnvelope. For this reason user messages are wrapped in DistributedPubSubMediator.Internal$.MediatorRouterEnvelope which will be unwrapped by the pekko.routing.Router leaving original user message.