INT-914 updated delayer documentation
This commit is contained in:
@@ -47,11 +47,15 @@
|
||||
</tip>
|
||||
</para>
|
||||
<para>
|
||||
The default scheduler will have a thread pool of size 1. If you want to configure and provide a
|
||||
different scheduler, you can provide the reference through the 'scheduler' attribute:
|
||||
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.
|
||||
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"
|
||||
default-delay="0" delay-header-name="delay"
|
||||
scheduler="someScheduledExecutorService"/>]]></programlisting>
|
||||
scheduler="exampleTaskScheduler"/>
|
||||
|
||||
<task:scheduler id="exampleTaskScheduler" pool-size="3"/>]]></programlisting>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user