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`