| Martijn 2004-08-14, 7:47 am |
| On Fri, 13 Aug 2004 11:58:08 -0600, M W wrote:
> I currently have a receive pipeline to parse a flat file.
> There is the possibility that this parsing may fail (as
> the user may have made a mistake in the format of the
> flatfile).
>
> Right now it writes an error to the event log which is
> fine but I want to be able to catch this exception in the
> orchestration and handle it accordingly (eg: send an email
> to the user).
>
> Does anyone know how to catch an exception in a receive
> pipeline within the orchestration?
>
>
> Thanks
Hi,
As far as I know, this is not possible, due to the architecture of BizTalk.
Receive Pipelines are in front of the Orchestration engine. See
ms-help://BTS_2004/Introduction/htm/ebiz_intro_story_ltag.htm for this
information. You could ofcourse always reserve an element within the
incoming schema for your orchestration, called "Exception" or the likes and
promote this property within your receive pipeline component. It's not
really "catching" the exception, rather than checking for it within your
orchestration and taking appropriate action.
kind regards,
Martijn Hoogendoorn
|