[ https://issues.apache.org/jira/browse/SYNAPSE-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ishan Jayawardena updated SYNAPSE-843: -------------------------------------- Attachment: task_scheduler.patch The attached file (task_scheduler.patch) contains a patch to fix this behavior. Please give me your feedback on it. > Scheduler must not run indefinitely when the value of 'count' parameter is > zero > ------------------------------------------------------------------------------- > > Key: SYNAPSE-843 > URL: https://issues.apache.org/jira/browse/SYNAPSE-843 > Project: Synapse > Issue Type: Improvement > Reporter: Ishan Jayawardena > Attachments: task_scheduler.patch > > > The proper behavior of the task scheduler must be; > if count < 0: run indefinitely > else if count == 0: do not run > else: run task the specified number of times using the interval > But, currently, synapse does not support this. For all count values which are > less than 1, the scheduler runs indefinitely. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org