INT-1959 updated documentation to reflect the appropriate size of the thread pool for the default instance of the Task Schecduler

This commit is contained in:
Oleg Zhurakousky
2011-07-08 09:29:18 -04:00
parent a710b3138f
commit 1a0e823e0c
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@
By default Spring Integration relies on default Task Scheduler via <ulink url="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/scheduling.html">Task Execution and Scheduling</ulink> provided by the Spring Framework
That in turn just delegates to an instance of Spring's <interfacename>TaskExecutor</interfacename> abstraction. Therefore,
it's rather trivial to supply your own configuration. The "taskScheduler" bean is then responsible for managing
all pollers. The TaskScheduler will startup automatically by default. If you provide your own instance of
all pollers. The TaskScheduler will startup automatically by default with default thread pool of 10. If you provide your own instance of
Task Scheduler however, you can set the 'autoStartup' property to <emphasis>false</emphasis> instead.
</para>
<para>

View File

@@ -47,7 +47,7 @@
</para>
<para>
The delayer delegates to an instance of Spring's <interfacename>TaskScheduler</interfacename> abstraction.
The default scheduler is a <classname>ThreadPoolTaskScheduler</classname> instance with a pool size of 1.
The default scheduler is a <classname>ThreadPoolTaskScheduler</classname> instance with a pool size of 10.
If you want to delegate to a different scheduler, you can provide a reference through the delayer element's
'scheduler' attribute:
<programlisting language="xml"><![CDATA[ <delayer input-channel="input" output-channel="output"