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 IndexWebSphere Message Broker SupportParser used by MQINPUT node

Post new topicReply to topic
Parser used by MQINPUT node View previous topic :: View next topic
Author Message
KIT_INC
PostPosted: Fri Aug 24, 2018 12:11 pm Post subject: Parser used by MQINPUT node Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 549

I am runn IIB V10. My message flow process XML messages from external vendor with a RFH2 header.
The MQINPUT noide has parsing on demand and using XMLNSC parser. Once in a while a message will fail. After some analysis, we found out that the failing message has mcd/msd field = none in the RFH2 header. Because of this the BLOB parser is used instead of XMLNSC parser. Hence the failure.
If I use RFHUTIL to just blank out the msd field. It will work. I understand that the msd is telling the broker to use BLOB. But my MQINPUT node is tell the broker to use XMLNSC parser. Just wondering if there is any way to get around this ?
Back to top
View user's profile Send private message
timber
PostPosted: Fri Aug 24, 2018 12:19 pm Post subject: Reply with quote

Sentinel

Joined: 25 Aug 2015
Posts: 869

There is no way to stop the RFH2 header from overriding the input node properties - that's a feature, not a defect.

Ideally, you should not be receiving messages with-and-without RFH2 headers on the same queue. But you are, so you should set the input node parser to BLOB for all messages, and explicitly re-parse as XMLNSC using an RCD node.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 27, 2018 4:47 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25317
Location: Ohio, USA

timber wrote:
There is no way to stop the RFH2 header from overriding the input node properties - that's a feature, not a defect.




It may help if you think of the parser setting on the MQInput node as a default. If the message doesn't contain any indication of how it should be parsed (in an RFH2 header) the node applies the default. If the message explicitly says "I'm a BLOB message" or "I'm an XML message" in it's RFH2 then the node assumes the message knows best and uses the parser indicated.

You should reach out to whoever's sending the message to fix the bug their side where they sometimes don't fill out the RFH2 correctly.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportParser used by MQINPUT node
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.