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 » route message

Post new topic  Reply to topic
 route message « View previous topic :: View next topic » 
Author Message
xjaguelin
PostPosted: Fri Mar 21, 2003 7:57 am    Post subject: route message Reply with quote

Newbie

Joined: 21 Mar 2003
Posts: 1

During a test in a "compute", depending on the result of this
"compute", I would like to either keep the the treatment going on or
delete the message/process (or send it to a trashcan queue). I cannot
use a "Filter" for this test.

Thanks in advance for the information.

Xavier
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Mar 21, 2003 4:30 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

In your compute node do this,

Code:

-- some computation.
if ( condition is true ) then
return true;
else
return false;
end if;



In this case, if the condition is true, the message will propagate to next node. If the condition results in false then the message will be discarded and message flow will end here.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » route message
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.