03-18-05 01:46 AM
Thank you very much. Of course it makes sense now
I got around the problem by using a Listen shape instead. That way I am able
to handle the timeout as well as Receive a file, whichever comes first.
"Jon Flanders[DevelopMentor]" wrote:
> 1) Compensations are only called when the transaction succeeeds - but the
> outer scope thinks it should roll back. So you are wrong to think that th
e
> compensation will be called when the timeout happens. In fact - if the
> transaction fails - the compensation will *never* be called.
> 2) Custom compensations aren't called automatically. In order for a scope'
s
> compensation to be called, an outer scope has to have its compensation
> called (for default compensations) or the outer scope must decide somethin
g
> is wrong - throw an exception and call the inner scope's compensation bloc
k
> from inside of an exception.
>
>
>
> --
> Jon Flanders [DevelopMentor]
> http://staff.develop.com/jfland/
> http://www.develop.com/courses/biztalk
> "RKrishna" <RKrishna@discussions.microsoft.com> wrote in message
> news:8AB51C89-C795-426C-97D0-32B8FB834684@microsoft.com...
>
>
>
[ Post a follow-up to this message ]
|