Author: gertv
Date: Thu May 27 23:31:38 2010
New Revision: 949041
URL: http://svn.apache.org/viewvc?rev=949041&view=rev
Log:
SMXCOMP-725: Provide a sample configuration in the ServiceMix 4 assembly
Modified:
servicemix/smx4/features/trunk/assembly/src/main/distribution/text/etc/org.apache.servicemix.jbi.cfg
Modified:
servicemix/smx4/features/trunk/assembly/src/main/distribution/text/etc/org.apache.servicemix.jbi.cfg
URL:
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/src/main/distribution/text/etc/org.apache.servicemix.jbi.cfg?rev=949041&r1=949040&r2=949041&view=diff
==============================================================================
---
servicemix/smx4/features/trunk/assembly/src/main/distribution/text/etc/org.apache.servicemix.jbi.cfg
(original)
+++
servicemix/smx4/features/trunk/assembly/src/main/distribution/text/etc/org.apache.servicemix.jbi.cfg
Thu May 27 23:31:38 2010
@@ -20,3 +20,15 @@
# When using a forced shutdown of a SA, all pending synchronous exchanges will
be canceled after this timeout
# The value is specified in ms, the default value of 0 will wait indefinitely
for all exchanges to finish
shutdownTimeout=0
+
+# The values below can be used to configure the thread pool size for the
ServiceMix JBI components.
+# - corePoolSize defines the core thread pool size (default is 4)
+# - maximumPoolSize defines the maximum thread pool size, -1 means an
unbounded thread pool size (default is -1)
+# - queueSize defines the executor queue size (default is 1024)
+# - allowCoreThreadTimeout allows the core threads to timeout (defaults to
true)
+# - keepAliveTime is the amount of milliseconds a thread is kept alive when
idle (defaults to 60000)
+corePoolSize=4
+maximumPoolSize=-1
+queueSize=1024
+allowCoreThreadTimeout=true
+keepAliveTime=60000