activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r381612 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSessionExecutor.java
Date Tue, 28 Feb 2006 09:49:27 GMT
Author: jstrachan
Date: Tue Feb 28 01:49:25 2006
New Revision: 381612

URL: http://svn.apache.org/viewcvs?rev=381612&view=rev
Log:
added comment - I'd have thought a Map was better?

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSessionExecutor.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSessionExecutor.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSessionExecutor.java?rev=381612&r1=381611&r2=381612&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSessionExecutor.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSessionExecutor.java
Tue Feb 28 01:49:25 2006
@@ -86,6 +86,9 @@
     }
     
     void dispatch(MessageDispatch message){
+
+        // TODO  - we should use a Map for this indexed by consumerId
+        
         for (Iterator i = this.session.consumers.iterator(); i.hasNext();) {
             ActiveMQMessageConsumer consumer = (ActiveMQMessageConsumer) i.next();
             ConsumerId consumerId = message.getConsumerId();



Mime
View raw message