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 filter Empty Message ?

Post new topic  Reply to topic
 How to filter Empty Message ? « View previous topic :: View next topic » 
Author Message
siliconfish
PostPosted: Fri Aug 23, 2002 4:29 am    Post subject: How to filter Empty Message ? Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA


We want to filter out the empty messages rather than letting it go into the error queue.
In the filter node we checked for

Root.Body IS NULL,

Root.MQMD.Format = ''

and we also tried

Root.Body.Blob IS NULL .....

nothing works out all the messages goes to error queue.

Any suggestions?
_________________
siliconfish
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Aug 23, 2002 5:59 am    Post subject: Reply with quote

Jedi Knight

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

Try this ..

LENGTH(BITSTREAM(InputBody)) = 0
_________________
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
wolstek
PostPosted: Fri Aug 23, 2002 6:04 am    Post subject: Reply with quote

Acolyte

Joined: 25 Jun 2001
Posts: 52
Location: Bristol, UK

You put
Code:
Root.Body IS NULL
Root.Body.Blob = ''

check your syntax i.e Root.XML or Root."BLOB"."BLOB" or Body."BLOB" or Body. not Root.Body

I haven't tried it but my guess is that you would still get the body of the message parsed into the messsage tree (i.e not null) but with no content

I wouldn't have though it would work in the XML domain as it is not well formed XML but would need input node to be in BLOB domain

So how about
Code:
Root.XML.Body = ''        (if <Body> is high level tag)
Root."BLOB"."BLOB" = ''
InputBody."BLOB" = ''


worth tracing to see what the filter statement is evaluating
Back to top
View user's profile Send private message
siliconfish
PostPosted: Wed Sep 04, 2002 6:58 am    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

Thank U wolstek!
_________________
siliconfish
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 filter Empty 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.