Uses of Class
com.yahoo.messagebus.routing.RoutingContext
-
Packages that use RoutingContext Package Description com.yahoo.messagebus.routing This package contains all classes and interfaces that concern routing over message bus.com.yahoo.messagebus.routing.test -
-
Uses of RoutingContext in com.yahoo.messagebus.routing
Methods in com.yahoo.messagebus.routing that return RoutingContext Modifier and Type Method Description RoutingContext
RoutingContext. setContext(java.lang.Object context)
Sets a policy specific context object that will be available at merge().RoutingContext
RoutingContext. setError(int code, java.lang.String msg)
This is a convenience method to callsetError(Error)
.RoutingContext
RoutingContext. setError(Error err)
This is a convenience method to assign anEmptyReply
containing a single error to this.RoutingContext
RoutingContext. setReply(Reply reply)
Sets the reply generated by the associated routing policy.RoutingContext
RoutingContext. setSelectOnRetry(boolean selectOnRetry)
Sets whether or not the policy is required to reselect if resending occurs.Methods in com.yahoo.messagebus.routing with parameters of type RoutingContext Modifier and Type Method Description void
RoutingPolicy. merge(RoutingContext context)
This function is called when all replies have arrived for some message.void
RoutingPolicy. select(RoutingContext context)
This function must choose a set of services that is to receive the given message from a list of possible recipients. -
Uses of RoutingContext in com.yahoo.messagebus.routing.test
Methods in com.yahoo.messagebus.routing.test with parameters of type RoutingContext Modifier and Type Method Description void
CustomPolicy. merge(RoutingContext context)
void
CustomPolicy. select(RoutingContext context)
-