public class RoundRobinDispatchPolicy extends Object implements DispatchPolicy
| Constructor and Description |
|---|
RoundRobinDispatchPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatch(MessageReference node,
MessageEvaluationContext msgContext,
List<Subscription> consumers)
Decides how to dispatch a selected message to a collection of consumers.
|
public RoundRobinDispatchPolicy()
public boolean dispatch(MessageReference node, MessageEvaluationContext msgContext, List<Subscription> consumers) throws Exception
DispatchPolicydispatch in interface DispatchPolicynode - msgContext - consumers - ExceptionDispatchPolicy.dispatch(org.apache.activemq.broker.region.MessageReference,
org.apache.activemq.filter.MessageEvaluationContext, java.util.List)Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.