public class SimpleDispatchPolicy extends Object implements DispatchPolicy
Constructor and Description |
---|
SimpleDispatchPolicy() |
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 SimpleDispatchPolicy()
public boolean dispatch(MessageReference node, MessageEvaluationContext msgContext, List<Subscription> consumers) throws Exception
DispatchPolicy
dispatch
in interface DispatchPolicy
Exception
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.