Author: davsclaus
Date: Sat Mar 10 13:08:32 2012
New Revision: 1299195

URL: http://svn.apache.org/viewvc?rev=1299195&view=rev
Log:
CAMEL-5074: Improved javadoc

Modified:
    
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ExecutorServiceManager.java

Modified: 
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ExecutorServiceManager.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ExecutorServiceManager.java?rev=1299195&r1=1299194&r2=1299195&view=diff
==============================================================================
--- 
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ExecutorServiceManager.java
 (original)
+++ 
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/ExecutorServiceManager.java
 Sat Mar 10 13:08:32 2012
@@ -174,6 +174,10 @@ public interface ExecutorServiceManager 
 
     /**
      * Creates a new single-threaded thread pool. This is often used for 
background threads.
+     * <p/>
+     * Notice that there will always be a single thread in the pool. If you 
want the pool to be
+     * able to shrink to no threads, then use the <tt>newThreadPool</tt> 
method, and use
+     * 0 in core pool size, and 1 in max pool size.
      *
      * @param source      the source object, usually it should be 
<tt>this</tt> passed in as parameter
      * @param name        name which is appended to the thread name


Reply via email to