for (Iterator i = this.messageDispatchers.iterator(); i.hasNext();) {
ActiveMQMessageDispatcher dispatcher = (ActiveMQMessageDispatcher) i.next();
if (dispatcher.isTarget(message)) {
if (count > 0) {
//separate message for each Session etc.
message = message.deepCopy();
}
dispatcher.dispatch(message);
count++;
}
}