[jboss-svn-commits] JBL Code SVN: r13985 - labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Aug 3 07:01:32 EDT 2007
Author: tfennelly
Date: 2007-08-03 07:01:32 -0400 (Fri, 03 Aug 2007)
New Revision: 13985
Modified:
labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners/MessageMulticaster.java
Log:
Added comments re it not being a true multicaster in the IP sense of the word.
Modified: labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners/MessageMulticaster.java
===================================================================
--- labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners/MessageMulticaster.java 2007-08-03 10:44:49 UTC (rev 13984)
+++ labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/listeners/MessageMulticaster.java 2007-08-03 11:01:32 UTC (rev 13985)
@@ -35,6 +35,11 @@
* Used to send a message to a recipient list, or a subset of that recipient list.
* <p/>
* Caches a {@link ServiceInvoker} instance for each recipient.
+ * <p/>
+ * <b>Note</b>: This doesn't "multicast" message delivery in the true IP sense of the
+ * word "multicast". It sends the message to all recipients in its recipient list,
+ * one at a time, in the order the recipients were added via the
+ * {@link #addRecipient(org.jboss.soa.esb.Service)} method.
*
* @author <a href="mailto:tom.fennely at jboss.com">tom.fennelly at jboss.com</a>
*/
@@ -42,7 +47,7 @@
private static Logger logger = Logger.getLogger(MessageMulticaster.class);
- private Map<Service, ServiceInvoker> invokers = new HashMap<Service, ServiceInvoker>();
+ private Map<Service, ServiceInvoker> invokers = new LinkedHashMap<Service, ServiceInvoker>();
/**
* Add a message recipient Service.
More information about the jboss-svn-commits
mailing list