Expection handling with MSMQT
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 > Expection handling with MSMQT




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

    Expection handling with MSMQT  
Amit


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


 
07-29-04 12:50 PM

Hi


We have some doubt in Expection handling with MSMQT.

we have a scenario wherein we receive a flat file from a MSMQT port,transfor
m it by using  map
and transmit it to MSMQ of another m/c.

While transmiting we initialize a correlation set inorder to correlate the r
esponse of this transmit.

The send shape for sending the message and receiving the response message ar
e in same scope shape.

We have added a exception handler to this scope shape which handles  System.
Exception and which transmit the original message to temporary folder.

Orchestration works fine and we get desired output.

BUt if we remove the network code from the m/c(so that it cannot access the 
MSMQ of another m/c) the send should fail and
message should be transmited to temp folder.

The orchestration consumes the input file but doesn't raise an exception.No 
error are seen in event log also.

we also tried DeliveryFailure Exception,general exception in the exception o
bject type.

Send port as delivery notification property =Trasmitted.
Number of retry=0

Why there are no error's in eventlog ???
why this exception is not handled ??

Regards
Amit





[ Post a follow-up to this message ]



    RE: Expection handling with MSMQT  
Iuliu Rus


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


 
09-23-04 02:56 AM

Every message that you send with MSMQT has an associated expiration time
that you can set (msg(MSMQT.TimeToReachQueue) = <number of seconds> ). The
default expiration time is 3 days. This means that even if the other
computer is not available, MSMQT will wait and re-try the delivery over 3
days. After the message expires an exception will be raised.

Make sure that you set the expiration time to a smaller value if you want
to test the exception handling code.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:35 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