[
https://issues.apache.org/jira/browse/ODE-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sathwik Bantwal Premakumar closed ODE-973.
------------------------------------------
> RepeatEvery within OnAlarm fires immediately without taking into
> consideration of the wait time
> -----------------------------------------------------------------------------------------------
>
> Key: ODE-973
> URL: https://issues.apache.org/jira/browse/ODE-973
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.3.5
> Reporter: Sathwik Bantwal Premakumar
> Assignee: Sathwik Bantwal Premakumar
> Labels: patch
> Fix For: 1.3.6, 1.4
>
> Attachments: ODE-973.patch
>
>
> If the onAlarm has repeatEvery with a wait time, it gets fired without
> waiting for the duration specified when it gets executed in the first
> iteration.
> <bpel:onAlarm>
> <bpel:repeatEvery>"PT15S"</bpel:repeatEvery>
> <bpel:scope name="SubProcess-1" > </bpel:Scope>
> </bpel:OnAlarm>
> If we look at the EH_ALARM.java especially the run method,
> if (_oalarm.forExpr != null){
> calculate wait time
> }else if (_oalarm.untilExpr != null){
> calculate wait time
> }
> // We reduce to waiting for the alarm to be triggered.
> instance(new WAIT(alarm));
> We can see that there is a check for "for" expression and "until" expression
> but not for "repearEvery" expression.
> Shouldn't repeatEvery wait for 15 seconds as specified in the above
> example when it gets executed during the first iteration?
--
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