MQSeries.net
Search
Tech Exchange
Education
Certifications
Library
Info Center
SupportPacs
LinkedIn
Search
FAQ
 Â
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 ?
How to filter Empty Message ?
«
View previous topic
::
View next topic
»
Author
Message
siliconfish
Posted: Fri Aug 23, 2002 4:29 am
Post subject: How to filter Empty Message ?
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
kirani
Posted: Fri Aug 23, 2002 5:59 am
Post subject:
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
wolstek
Posted: Fri Aug 23, 2002 6:04 am
Post subject:
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
siliconfish
Posted: Wed Sep 04, 2002 6:58 am
Post subject:
Master
Joined: 12 Aug 2002
Posts: 203
Location: USA
Thank U wolstek!
_________________
siliconfish
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Page
1
of
1
MQSeries.net Forum Index
»
WebSphere Message Broker (ACE) Support
»
How to filter Empty Message ?
Jump to:
Select a forum
General Discussion
----------------
Read First for All New to IBM MQ, Integration, Messaging, WebSphere - Only Moderators Post Here
General Discussion
Messaging and Integration Technologies FAQ
News/Updates
Links
Job Seekers
Job Postings
General Forums Information
Requirements, Wishlists & Enhancement Requests
----------------
RFEs - Requirements, Wishlists & Enhancement Requests - Open Forum
IBM MQ Support
----------------
General IBM MQ Support
IBM MQ Cloud and SaaS, Cloud Hybrid and Containers
IBM MQ Installation/Configuration Support
Clustering
IBM MQ Telemetry / Low Latency Messaging / Everyplace
Mainframe, CICS, TXSeries
iSeries, OpenVMS, HP-NSS
IBM MQ Performance Monitoring
IBM MQ Security
IBM MQ Development
----------------
IBM MQ Java / JMS
IBM MQ API Support
Multiphase Commit
User Exits
WebSphere Message Broker
----------------
WebSphere Message Broker (ACE) Support
WMB Patterns Repository - Available for Download
WebSphere Application Server
----------------
WebSphere Application Server
Web Services
----------------
WebSphere DataPower
Products that use IBM MQ
----------------
Workflow Engines - IBM MQ Workflow & Business Process Choreographer
WebSphere Process Server (WID/WPS/WAS+)
WebSphere Interchange Server + Adapters
IBM MQ File Transfer Edition
Resources, Files, Samples, Archives, Misc
----------------
Files and Code Samples
Archives - All
Challenge Forum
Sponsored Forums
----------------
Cressida Technology
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.