public class SimpleDispatchPolicy extends java.lang.Object implements DispatchPolicy
Constructor and Description |
---|
SimpleDispatchPolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
dispatch(MessageReference node,
MessageEvaluationContext msgContext,
java.util.List<Subscription> consumers)
Decides how to dispatch a selected message to a collection of consumers.
|
public SimpleDispatchPolicy()
public boolean dispatch(MessageReference node, MessageEvaluationContext msgContext, java.util.List<Subscription> consumers) throws java.lang.Exception
DispatchPolicy
dispatch
in interface DispatchPolicy
java.lang.Exception
Copyright © 2005-2012. All Rights Reserved.