|
Home > Archive > BizTalk Server Orchestration > June 2005 > Biztalk Transactions Exception Handler
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Biztalk Transactions Exception Handler
|
|
| Tareq Muhammad 2005-06-16, 5:50 pm |
| Hello All,
I don't understand why I can create a Compansation Block for atomic and long
running transactions, but I can only have an exception handler for only long
running transaction.
BTW, I read the following from Microsoft Course Book for biztalk
"A scope contains one or more blocks. It has a body and can have appended to
it any number of excepion handling blocks. it may also, depending on the
nature of the scope, include an optional compansation block"
what does this mean, this means that I may have Exception handler for for
any type of transactions.?
| |
| Alan Smith 2005-06-17, 7:48 am |
| Hi Tareq,
Looks like the description in the book may not be explaining it correctly.
You cannot add an exception handler on an atimic scope because this would
mean the scope would exit with only a partial execution of the code. With a
Long Running transaction, this is OK, as they do not support Atomicity.
Regards,
Alan
--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith
"Tareq Muhammad" wrote:
> Hello All,
> I don't understand why I can create a Compansation Block for atomic and long
> running transactions, but I can only have an exception handler for only long
> running transaction.
> BTW, I read the following from Microsoft Course Book for biztalk
> "A scope contains one or more blocks. It has a body and can have appended to
> it any number of excepion handling blocks. it may also, depending on the
> nature of the scope, include an optional compansation block"
> what does this mean, this means that I may have Exception handler for for
> any type of transactions.?
>
| |
| Tareq Muhammad 2005-06-18, 7:47 am |
| Page 345 BizTalk unleashed Book by scott:
"Such transactions do not need exception hanlders, though, because a fult
will result in either a retry or an automatic rookback"
So, why we need a compansation Block?
"Alan Smith" wrote:
[vbcol=seagreen]
> Hi Tareq,
>
> Looks like the description in the book may not be explaining it correctly.
>
> You cannot add an exception handler on an atimic scope because this would
> mean the scope would exit with only a partial execution of the code. With a
> Long Running transaction, this is OK, as they do not support Atomicity.
>
> Regards,
>
> Alan
>
>
> --
> The Bloggers Guide to BizTalk
> http://geekswithblogs.com/asmith
>
>
>
> "Tareq Muhammad" wrote:
>
|
|
|
|
|