akka.routing
Interface CustomRoute


public interface CustomRoute

Java API helper for creating a single-destination routing.


Method Summary
 scala.collection.immutable.Seq<Destination> destinationsFor(ActorRef sender, java.lang.Object message)
          use akka.japi.Util.immutableSeq to convert a java.lang.Iterable to the return type needed for destinationsFor, or if you just want to return a single Destination, use akka.japi.Util.immutableSingletonSeq
 

Method Detail

destinationsFor

scala.collection.immutable.Seq<Destination> destinationsFor(ActorRef sender,
                                                            java.lang.Object message)
use akka.japi.Util.immutableSeq to convert a java.lang.Iterable to the return type needed for destinationsFor, or if you just want to return a single Destination, use akka.japi.Util.immutableSingletonSeq