Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.10.4
-
None
-
any
-
Unknown
Description
There are frequent requirements (as I read from the mail list) to be able to alter the polling behavior of Consumers based on ScheduledPollConsumer, for example when polling should start and stop. To customize when polling should start, the Endpoint can be configured with "startScheduler=false", but then how can we programatically start it without using reflection to override the "protected" access of startScheduler()? It seems to me that if the option, "startScheduler=false" is implemented, then the complimentary API, ScheduledPollConsumer.startScheduler() should be "public".