Catch receive pipeline errors
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 Orchestration > Catch receive pipeline errors




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

    Catch receive pipeline errors  
Jayee


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


 
03-12-04 03:43 AM

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
Jayee





[ Post a follow-up to this message ]



    Re: Catch receive pipeline errors  
Brian Loesgen


Report This Message To A Moderator Edit/Delete Message


 
03-18-04 07:00 PM

Jayee:

I've done something similar in the Send direction, but not as part of a
Receive. However, the same technique should work.

I would try putting the Receive inside a Scope, and then add an Exception
handler (right click the Scope to do this). At a quick glance, I don't see
any pipeline-specific exceptions, so use General exception. Alternatively,
you may be able to make the Scope transaction atomic and have a compensation
flow.

HTH,

Brian
BizTalk Server MVP
Neudesic

"Jayee" <anonymous@discussions.microsoft.com> wrote in message
news:b0e701c40780$cc309200$a501280a@phx.gbl...
> 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
> Jayee







[ Post a follow-up to this message ]



    Re: Catch receive pipeline errors  
Nikolai


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


 
03-18-04 07:00 PM

how would you retrieve error information from the 'General Exception' except
ion object type to reuse in a notification email?






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:30 PM.      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