Author: heiko.braun(a)jboss.com
Date: 2010-02-01 13:08:40 -0500 (Mon, 01 Feb 2010)
New Revision: 945
Modified:
bpm-console/trunk/gui/war/src/main/resources/ErraiService.properties
Log:
Use async dispatcher
Modified: bpm-console/trunk/gui/war/src/main/resources/ErraiService.properties
===================================================================
--- bpm-console/trunk/gui/war/src/main/resources/ErraiService.properties 2010-02-01
16:12:35 UTC (rev 944)
+++ bpm-console/trunk/gui/war/src/main/resources/ErraiService.properties 2010-02-01
18:08:40 UTC (rev 945)
@@ -21,6 +21,24 @@
#errai.authentication_adapter=org.jboss.errai.persistence.server.security.HibernateAuthenticationAdapter
#errai.authentication_adapter=org.jboss.errai.bus.server.security.auth.JAASAdapter
+#
+# Request dispatcher implementation (default is SimpleDispatcher)
+#
+#errai.dispatcher_implementation=org.jboss.errai.bus.server.SimpleDispatcher
+errai.dispatcher_implementation=org.jboss.errai.bus.server.AsyncDispatcher
+
+#
+# Worker pool size. This is the number of threads the asynchronous worker pool should
provide for processing
+# incoming messages. This option is only valid when using the AsyncDispatcher
implementation.
+#
+errai.async.thread_pool_size=5
+
+#
+# Worker timeout (in seconds). This defines the time that a single asychronous process
may run, before the worker pool
+# terminates it and reclaims the thread. This option is only valid when using the
AsyncDispatcher implementation.
+#
+errai.async.worker.timeout=5
+
##
## This property indicates whether or not authentication is required for all
communication with the bus. Set this
## to 'true' if all access to your application should be secure.