You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/04/24 10:11:17 UTC

[jira] [Updated] (CAMEL-6308) ScheduledPollConsumer.startScheduler() access type should be "public", not "protected"

     [ https://issues.apache.org/jira/browse/CAMEL-6308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-6308:
-------------------------------

      Priority: Minor  (was: Critical)
    Issue Type: Improvement  (was: Bug)
    
> ScheduledPollConsumer.startScheduler() access type should be "public", not "protected"
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6308
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6308
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.4
>         Environment: any
>            Reporter: Chris Wolf
>            Priority: Minor
>
> 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". 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira