User: user57
Date: 01/08/08 13:02:26
Modified: src/main/org/jbossmq/server JMSServer.java
Log:
o removed maximum size limits on the server side and client side
PooledExecutors. These values (as well as the other PE params) should
be exposed via JMX for customization. Until that happens lets not limit
the number of threads as that will cause some applications to hang.
Revision Changes Path
1.19 +5 -3 jbossmq/src/main/org/jbossmq/server/JMSServer.java
Index: JMSServer.java
===================================================================
RCS file: /cvsroot/jboss/jbossmq/src/main/org/jbossmq/server/JMSServer.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- JMSServer.java 2001/07/29 22:54:58 1.18
+++ JMSServer.java 2001/08/08 20:02:26 1.19
@@ -42,7 +42,7 @@
* @author Norbert Lataille ([EMAIL PROTECTED])
* @author Hiram Chirino ([EMAIL PROTECTED])
*
- * @version $Revision: 1.18 $
+ * @version $Revision: 1.19 $
*/
public class JMSServer
{
@@ -92,9 +92,11 @@
threadGroup = new ThreadGroup("JBossMQ Server Threads");
+ // TODO: These values should all be exposed via JMX
+
//LinkedQueue lq = new LinkedQueue();
//executor = new PooledExecutor(lq, 25);
- executor = new PooledExecutor(25);
+ executor = new PooledExecutor();
executor.setMinimumPoolSize(0);
executor.setKeepAliveTime(1000*30);
executor.runWhenBlocked();
@@ -529,4 +531,4 @@
public String toString() {
return JBOSS_VESION;
}
-}
\ No newline at end of file
+}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development