Uses of Class
com.yahoo.messagebus.routing.RoutingContext
Package
Description
This package contains all classes and interfaces that concern routing over message bus.
-
Uses of RoutingContext in com.yahoo.messagebus.routing
Modifier and TypeMethodDescriptionRoutingContext.setContext
(Object context) Sets a policy specific context object that will be available at merge().This is a convenience method to callsetError(Error)
.This is a convenience method to assign anEmptyReply
containing a single error to this.Sets the reply generated by the associated routing policy.RoutingContext.setSelectOnRetry
(boolean selectOnRetry) Sets whether or not the policy is required to reselect if resending occurs.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionvoid
CustomPolicy.merge
(RoutingContext context) void
CustomPolicy.select
(RoutingContext context)