|
Home > Archive > BizTalk Server Orchestration > December 2004 > Recovering message from suspended orchestration
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 |
Recovering message from suspended orchestration
|
|
|
| If an orchestration fails due to an error of some kind, what happens to the
message it has consumed?
Even if message tracking has been disabled, could the message of a failed
orchestration be recovered?
The reason I ask is to understand best how to recover from a failed
orchestration. We are taking in files, converting them to xml, then
filtering out some of the records based on business rules, then squirting
the records in to SQL Server. But should the orchestration fail whilst
processing the message... how best to recover?
1. Enable message tracking on the receive port to recover the message for
re-processing
2. Take a backup copy of the message prior to processing it in the
orchestration
3. Recover the message from the failed orchestation (does biztalk support
this?)
4. Any other options?
Thanks
| |
| Nabeel Prior 2004-12-10, 2:46 am |
| Hi Kenzo,
It is possible that options 1 and 2 below can be used. In some cases,
however, this may not be acceptable - this will depend on how much logic has
occurred in your orchestration before the error occurs and whether
re-processing the message from scratch is acceptable. You may have used the
message to update an ERP system, after which some other function caused the
orchestration to fail. Reprocessing this message may not be acceptable as
you do not want the message to be sent to the ERP system again.
In order to cater for these types of situations, you should include
compensation and exception handling in your orchestration. With this, you
can then perform your required logic, depending on where in the
orchestration the error occurred.
--
Kind Regards,
Nabeel Prior
Web: http://www.brainjar.co.za
Blog: http://www.brainjar.co.za/blog.aspx
"Kenzo" <info@thinkscape.com> wrote in message
news:uJuQsN%231EHA.3500@TK2MSFTNGP09.phx.gbl...
> If an orchestration fails due to an error of some kind, what happens to
> the
> message it has consumed?
>
> Even if message tracking has been disabled, could the message of a failed
> orchestration be recovered?
>
> The reason I ask is to understand best how to recover from a failed
> orchestration. We are taking in files, converting them to xml, then
> filtering out some of the records based on business rules, then squirting
> the records in to SQL Server. But should the orchestration fail whilst
> processing the message... how best to recover?
>
> 1. Enable message tracking on the receive port to recover the message for
> re-processing
> 2. Take a backup copy of the message prior to processing it in the
> orchestration
> 3. Recover the message from the failed orchestation (does biztalk support
> this?)
> 4. Any other options?
>
> Thanks
>
>
|
|
|
|
|