jstrachan 02/04/19 02:52:38
Modified: messenger/src/java/org/apache/commons/messagelet
ManagerServlet.java
Log:
Added comment to where thread-pool based subscription could be added to increase
parallelism of subscriptions and message processing.
Revision Changes Path
1.11 +5 -2
jakarta-commons-sandbox/messenger/src/java/org/apache/commons/messagelet/ManagerServlet.java
Index: ManagerServlet.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/messenger/src/java/org/apache/commons/messagelet/ManagerServlet.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ManagerServlet.java 26 Feb 2002 04:12:53 -0000 1.10
+++ ManagerServlet.java 19 Apr 2002 09:52:38 -0000 1.11
@@ -5,7 +5,7 @@
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*
- * $Id: ManagerServlet.java,v 1.10 2002/02/26 04:12:53 jstrachan Exp $
+ * $Id: ManagerServlet.java,v 1.11 2002/04/19 09:52:38 jstrachan Exp $
*/
package org.apache.commons.messagelet;
@@ -36,7 +36,7 @@
* and use of MessageListener beans for a given ServletContext.</p>
*
* @author <a href="mailto:[EMAIL PROTECTED]">James Strachan</a>
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class ManagerServlet extends GenericServlet {
@@ -187,6 +187,9 @@
throw new ServletException( "No destination could be found for name: "
+ subject + " for subscription: " + subscription );
}
+ // #### at this point we may wish to create a thread pool of multiple
threads
+ // #### each consuming from the same Destination in parallel
+
try {
String selector = subscription.getSelector();
if ( selector != null && selector.length() > 0 ) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>