GH-9524: Expose SourcePollingChannelAdapterSpec.taskScheduler

Fixes: #9524
Issue link: https://github.com/spring-projects/spring-integration/issues/9524

It is useful in some use-cases to be able to inject a custom `TaskScheduler`
(e.g. with a `TaskDecorator`) into a source polling channel adapter.

* Add `SourcePollingChannelAdapterFactoryBean.setTaskScheduler()`
 and call it from the `SourcePollingChannelAdapterSpec.taskScheduler()`
* Fix JavaDocs typos in the `ConsumerEndpointSpec`
* Test custom `TaskScheduler` usage and mention new option in the `whats-new.adoc`
This commit is contained in:
Artem Bilan
2024-10-14 17:22:29 -04:00
parent be1156aff8
commit d5ab03c0c7
5 changed files with 48 additions and 6 deletions

View File

@@ -30,6 +30,8 @@ See xref:spel.adoc[SpEL Support] for more information.
[[x6.4-general]]
=== General Changes
The Java DSL `SourcePollingChannelAdapterSpec` can now be configured with a custom `TaskScheduler`
[[x6.4-remote-files-changes]]
=== Remote File Adapters Changes