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 » How to discard MQ message in WMB flow

Post new topic  Reply to topic
 How to discard MQ message in WMB flow « View previous topic :: View next topic » 
Author Message
N
PostPosted: Thu Oct 11, 2007 10:44 pm    Post subject: How to discard MQ message in WMB flow Reply with quote

Acolyte

Joined: 21 Jul 2007
Posts: 64

Hi Guys,

Can share with me how to discard message in WMB flow.
For eg:
IN -> CHECK NODE -> MAPPING NODE ->OUT

If the message going to discard during CHECK NODE, how am i going to handle this. THANKS
Back to top
View user's profile Send private message
asudhakar
PostPosted: Thu Oct 11, 2007 10:50 pm    Post subject: Re: How to discard MQ message in WMB flow Reply with quote

Centurion

Joined: 12 May 2007
Posts: 116
Location: Bangalore

N wrote:
Hi Guys,

Can share with me how to discard message in WMB flow.
For eg:
IN -> CHECK NODE -> MAPPING NODE ->OUT

If the message going to discard during CHECK NODE, how am i going to handle this. THANKS


What r u checking in Check node (domain / any thing)
Give brief description abt MsgFlow.
_________________
WebSphere MQ, MB Support and Admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Oct 11, 2007 11:54 pm    Post subject: Re: How to discard MQ message in WMB flow Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

N wrote:
Hi Guys,

Can share with me how to discard message in WMB flow.
For eg:
IN -> CHECK NODE -> MAPPING NODE ->OUT

If the message going to discard during CHECK NODE, how am i going to handle this. THANKS


If you really mean discard, wire a compute node that doesn't produce an output tree...

...seems a bit harsh though. Wouldn't you want to put the failing message somewhere for investigation?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
N
PostPosted: Sat Oct 13, 2007 3:41 pm    Post subject: Reply with quote

Acolyte

Joined: 21 Jul 2007
Posts: 64

Hi asudhakar,

Thanks for your reply. There are lot of message coming from Input Node. I will check on the BLOB message using substring to determine the type of message. If is wrong message, i intend to set InputRoot.MRM = null. However this is not the right way to do this. Please guide. Thanks

Hi Vitor,

Yes. I can put the failed message in a log file for investigation. However there will be lots of wrong message coming to my flow. At the end of the day, the log file is going to take up a lot of space.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Oct 13, 2007 5:29 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

return false;
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Oct 14, 2007 12:41 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

N wrote:

Yes. I can put the failed message in a log file for investigation. However there will be lots of wrong message coming to my flow. At the end of the day, the log file is going to take up a lot of space.


- disc space is cheap

- and if these messages can be so easily discarded, why send them in the first place?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
N
PostPosted: Mon Oct 15, 2007 3:57 am    Post subject: Reply with quote

Acolyte

Joined: 21 Jul 2007
Posts: 64

Hi,

Bcoz the MQInput Node is 'OPEN' for a few sender. I need to filter those junk message before send for processing.

Meanwhile, return false is working !!! Thanks Jeff... BRAVO!!!
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 » How to discard MQ message in WMB flow
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.