This class contains logic used by a Router to route a message to a Routee determined using scatter-gather-first-completed. This process has the router send a message to all of its routees. The first response is used and the remaining are discarded. If the none of the routees respond within a specified time limit, a timeout failure occurs.
public sealed class ScatterGatherFirstCompletedRoutingLogic : RoutingLogic, INoSerializationVerificationNeeded
Constructors| Improve this Doc View Source
Initializes a new instance of the ScatterGatherFirstCompletedRoutingLogic class.
public ScatterGatherFirstCompletedRoutingLogic(TimeSpan within)
The amount of time to wait for a response.
Methods| Improve this Doc View Source
Picks all the provided
routees to receive the
public override Routee Select(object message, Routee routees)
The message that is being routed
A collection of routees to choose from when receiving the
A Akka.Routing.ScatterGatherFirstCompletedRoutees that receives the