wsbpel-comment message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [wsbpel-comment] Is there syntax to terminate a while loop if it does not finish within certain time limit?
- From: Dieter Koenig1 <dieterkoenig@de.ibm.com>
- To: Tan Tian Huat <ttianhuat@gmail.com>
- Date: Tue, 10 Jul 2012 11:56:35 +0200
You may cause the while-activity to fail
by putting it into a scope with an onAlarm event handler that throws a
fault - something like this:
<scope>
<faultHandlers>
<catch faultName="timeout">
<empty/>
</catch>
</faultHandlers>
<eventHandlers>
<onAlarm>
<for>10s</for>
<scope>
<throw faultName="timeout"/>
</scope>
</onAlarm>
</eventHandlers>
<while>...</while>
</scope>
HTH
Kind Regards
Dieter Koenig
Senior Technical Staff Member,
WebSphere BPM Architecture
IBM Software Group
From:
Tan Tian Huat <ttianhuat@gmail.com>
To:
wsbpel-comment@lists.oasis-open.org
Date:
10.07.2012 11:24
Subject:
[wsbpel-comment]
Is there syntax to terminate a while loop if it does not finish within
certain time limit?
Sent by:
williamee@gmail.com
Dear all,
Say if we have a while loop in BPEL
<while>...<while>
Is it possible to terminate it if it does
not complete within 10s?
Warmest Regards,
Tian Huat
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]