Re: BizTalk 2004 :: Orchestration timeout not working
- From: "Tomas Restrepo \(MVP\)" <tomasr@xxxxxxxx>
- Date: Thu, 23 Mar 2006 18:01:14 -0500
BA,
Hello,
I've encountered a very strange problem with my orchestration's timeout
properties.
I have a request-response operation via SOAP. SOAP has a timeout of 120
seconds.
My orchestration has a base Long Running Transaction of 70 seconds
Inside the orchestration I have scope shape A (Long Running Transaction of
65 seconds) with a catch block to send error responses back to the SOAP
port in case of errors or timeouts.
Inside scope A I have an Atomic scope B (retry = false) with a timeout of
60 seconds.
In scope B I am calling rules, a .net component and then another set of
rules.
The error is occuring because of a bug in the .net component which is
causing
the component to hang. To catch it, scope B should timeout within 65
seconds
and cascade to the catch block of scope A. I am in fact reaching the catch
block, but why is it taking 220 seconds?
I *think* that the timeout on atomic transaction scopes (and possibly on
long running ones, as well) is not meant to be hard. In other words, it does
not mean that it will "break" processing if the timeout is exceeded, but
rather means that if execution takes longer than the timeout time, the
transaction will abort (heck, that's just what it means for DTC
transactions, so it would make sense).
You might have to find a way of doing the hard break at the code level
itself, possibly by wrapping the problematic compoonent inside another one
that enforces it (should be fairly trivial to do so by simply starting the
call to the real component async and then doing a wait on an event or some
other control mechanism with a timeout).
--
Tomas Restrepo
tomasr@xxxxxxxx
http://www.winterdom.com/
.
- Follow-Ups:
- References:
- Prev by Date: Re: SubmitDirect from web service gets Exception from HRESULT: 0xC0C01666
- Next by Date: Re: XML Message to SQL in Attribute
- Previous by thread: BizTalk 2004 :: Orchestration timeout not working
- Next by thread: Re: BizTalk 2004 :: Orchestration timeout not working
- Index(es):
Relevant Pages
|