Posted: Wed Jan 16, 2008 9:38 am Post subject: BLOB and MQHRF2
Partisan
Joined: 07 Aug 2001 Posts: 386
We are running WMB V6 csd 5 on Windows XP. We have to accept all kind of messages from external client. So we have a flow that receive all incoming messages as BLOB and then process or rout the message base on the message data.
So a simple flow
MQINPUT - compute ........ MQOUTPUT
MQINPUT node has BLOB as the parser. The compute node is performing
simple functions to examine the blob
For example it has ESQL like
SET NAME = SUBSTRING(cast(InputRoot.BLOB.BLOB as CHAR) from 10 for 10). Everything works fine except for message that comes in with format = MQHRF2.
In debug instead of seeing
Message
-Properties
-MQMD
-BLOB
the broker actually parsed the message into
Message
-Properties
-MQMD
-MQRFH2
-XMLNS
So any ESQL that refer to BLOB is failing.
Is that the normal behavior even when we specify the parser as BLOB in the MQINPUT node ?
Yep - this is normal. Broker will always use MQInput node properties as defaults if it can't otherwise identify the data. _________________ I am *not* the model of the modern major general.
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