Does anyone know how to catch an exception in a receive
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Does anyone know how to catch an exception in a receive




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Does anyone know how to catch an exception in a receive  
M W


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10: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







[ Post a follow-up to this message ]



    Re: Does anyone know how to catch an exception in a receive  
Martijn


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-14-04 12:47 PM

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:09 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register