updated doc

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960632 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2010-07-05 16:27:57 +00:00
parent 8d9ff0d25f
commit 95ba6efceb
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ public interface DispatchPolicy {
* Once a message has been locked, it does not need to be dispatched to any
* further subscriptions.
*
* The list will be safe to iterate over when this method is called
*
* @return true if at least one consumer was dispatched or false if there are no active subscriptions that could be dispatched
*/
boolean dispatch(MessageReference node, MessageEvaluationContext msgContext, List<Subscription> consumers) throws Exception;