You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2010/07/05 18:27:57 UTC
svn commit: r960632 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/DispatchPolicy.java
Author: rajdavies
Date: Mon Jul 5 16:27:57 2010
New Revision: 960632
URL: http://svn.apache.org/viewvc?rev=960632&view=rev
Log:
updated doc
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/DispatchPolicy.java
Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/DispatchPolicy.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/DispatchPolicy.java?rev=960632&r1=960631&r2=960632&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/DispatchPolicy.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/DispatchPolicy.java Mon Jul 5 16:27:57 2010
@@ -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;