mirror of https://github.com/apache/activemq.git
added comment - I'd have thought a Map was better?
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381612 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
895a15761f
commit
35e088856d
|
@ -86,6 +86,9 @@ public class ActiveMQSessionExecutor implements Task {
|
|||
}
|
||||
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue