ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Is it possible to handle user-defined exception in Compute N

Post new topic  Reply to topic
 Is it possible to handle user-defined exception in Compute N « View previous topic :: View next topic » 
Author Message
narayankumarpr
PostPosted: Mon Jul 08, 2002 10:44 pm    Post subject: Is it possible to handle user-defined exception in Compute N Reply with quote

Newbie

Joined: 01 Jul 2002
Posts: 9

Is it possible to handle user-defined exception in Compute Node?
Can any one give me a suggestion for the following scenario?

I have a Compute Node in the Flow.
I have an if else condition inside.
Now irrespective of the truth ness of the conditions the message will go the out terminal unless there is an exception.
Now I want my message to go to out terminal only when it gets into the if conditions.
Other wise I would like the message to propagate to the false terminal.

This can be achieved in the filter node using Return Key word But I would like to have it in the compute node.

Can any one help me?

Thanks & Regards
Narayan Kumar PR
Back to top
View user's profile Send private message
TorpedoSTu
PostPosted: Tue Jul 09, 2002 3:56 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2001
Posts: 73

If (true condition) then do something
else
throw user exception catalog 'WMQIv210' message 2949 values('This is an Exception')
end if;

This should do thie trick

Regs

Stuart
Back to top
View user's profile Send private message Send e-mail
narayankumarpr
PostPosted: Tue Jul 09, 2002 6:50 pm    Post subject: Reply with quote

Newbie

Joined: 01 Jul 2002
Posts: 9

Hi Stuart

That did work . Thanks a TON

Thanks & Regards
Narayan Kumar PR
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Is it possible to handle user-defined exception in Compute N
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.