Uses of Class
com.yahoo.messagebus.routing.Route
Package
Description
This package contains the main API of the message bus.
This package contains an RPC implementation of the Network interface declared in the com.yahoo.messagebus.network package.
This package contains all classes and interfaces that concern routing over message bus.
-
Uses of Route in com.yahoo.messagebus
Modifier and TypeMethodDescriptionThis is a convenience function to assign a given route to the given message, and then pass it to the otherSourceSession.send(Message)
method of this session.Sets a new route for this routable -
Uses of Route in com.yahoo.messagebus.network.rpc
Modifier and TypeMethodDescriptionprotected abstract com.yahoo.jrt.Request
RPCSend.encodeRequest
(com.yahoo.component.Version version, Route route, RPCServiceAddress address, Message msg, long timeRemaining, byte[] payload, int traceLevel) protected com.yahoo.jrt.Request
RPCSendV2.encodeRequest
(com.yahoo.component.Version version, Route route, RPCServiceAddress address, Message msg, long timeRemaining, byte[] payload, int traceLevel) -
Uses of Route in com.yahoo.messagebus.routing
Modifier and TypeMethodDescriptionAdds a hop to the list of hops that make up this route.Route.clearHops()
Clears the list of hops that make up this route.RoutingContext.getRecipient
(int idx) Returns the configured recipient at the given index.RoutingContext.getRoute()
Returns the route that contains the routing policy that spawned this.RoutingNode.getRoute()
Returns the route object as it exists at this point of the tree.RoutingNodeIterator.getRoute()
Returns the route of the current child.Returns the named route, may be null.RoutingTable.RouteIterator.getRoute()
Returns the current route.static Route
Parses the given string as a list of space-separated hops.Sets the hop at a given index.Modifier and TypeMethodDescriptionRoutingContext.getAllRecipients()
Returns all configured recipients for this hop.RoutingContext.getMatchedRecipients()
Returns a list of all configured recipients whose first hop matches this.Modifier and TypeMethodDescriptionvoid
Adds a child routing context to this based on a given route.Modifier and TypeMethodDescriptionvoid
RoutingContext.addChildren
(List<Route> routes) This is a convenience method to more easily add a list of children to this. -
Uses of Route in com.yahoo.messagebus.routing.test