activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r960632 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/DispatchPolicy.java
Date Mon, 05 Jul 2010 16:27:57 GMT
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;



Mime
View raw message