BizTalk Server General - Does anyone know how to catch an exception in a receive

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2004 > Does anyone know how to catch an exception in a receive





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 Does anyone know how to catch an exception in a receive
M W

2004-08-13, 5:51 pm

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


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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com