|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
What's wrong with my message set / flow? |
« View previous topic :: View next topic » |
Author |
Message
|
wildtiger |
Posted: Thu Aug 22, 2002 5:29 am Post subject: What's wrong with my message set / flow? |
|
|
 Acolyte
Joined: 21 Apr 2002 Posts: 55 Location: Canada
|
Hi, I just started using WMQI. I've defined message set. And I also put Message Set Id and Messagd Id in MQInput Node. The trace file output by a Trace node which is connected to output terminal of the MQInput node cannot recorgnize the message I put in. It can only recorgnize it as a BLOB message. How can I let the broker recorgnize it?
The follow is what I have done, can any one tell me what's wrong in it?
Element:
..Name : Str1
..Identifier : e_Str1
..Length : str1_length
..Type : STRING
Element lengths:
..Name : str1_length
..Maximum Length : 10
..Identifier : str_length_id
Types:
..Name : String1_t
..Identifier : t_String1
..Members : Str1
Messages:
..Name : String1
..Identifier : m_String1
..Type : String1_t
Message Sets:
..Name : Msg-Set1
..Identifier : DQNLG9S06S001
The following is the workflow:
Code: |
+--------+
+--+Failure1|
| +--------+
+------+ |
| +-(failure)-+ +------+ +-------+
| IN +-(out)-----+ +--+TRACE2+--+ Fail2 +
| + | +---------+ | +------+ +-------+
+------+ | +------+ | +-(falure)--+
+----+TRACE1+------+ Compute +-(out)----+
+------+ | | |
+---------+ | +------+
+---+ OUT |
+------+
|
Configuration as follow:
Node : IN (MQInput)
Default Tab:
Message Domain : MRM
Message Set : DQNLG9S06S001
Message Type : m_String1
Message Format : CWF
Node : Trace1 (Trace)
Trace1 Tab:
Destination: file
File Path : d:\mqsiv2\test2.txt
Pattern : ${Root}
Node : Compute (Compute)
ESQL:
DECLARE I INTEGER;
SET I = 1;
WHILE I < CARDINALITY(InputRoot.*[]) DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I=I+1;
END WHILE;
SET "OutputRoot"."XML"."Str1" = "InputBody"."e_Str1";
Node : Trace2 (TRACE)
Trace2 Tab:
Destination: file
File Path : d:\mqsiv2\test2a.txt
Pattern : ${ExceptionList}
Node : Failure1 (MQOUTPUT)
Node : Fail2 (MQOUTPUT)
Node : OUT (MQOUTPUT)
When I leave "Message Domain" of Node "IN" (MQInput) blank, the test2.txt looks like:
(
(0x3000000)UnknownParserName = 'MQSTR'
(0x3000000)BLOB =X'4d46202020202020202040424345405053534020575349425f636c61696d5f303230305f32303032303830315f312020202054686973206973206d65737361676520636f6e74656e742e414141414141'
)
When I set "Message Domain" of Node "IN" (MQInput) to "MRM" (whether I set "Message Format" to "CWF" or leave it blank), the test2.txt looks like:
(
)
And test2a.txt (generated by Trace2 Node) looks like this when I set "Message Format" of MQInput node to "CWF":
(
(0x1000000)RecoverableException = (
(0x3000000)File = 'f:/build/argo/src/DataFlowEngine/ImbDataFlowNode.cpp'
(0x3000000)Line = 538
(0x3000000)Function = 'ImbDataFlowNode::createExceptionList'
(0x3000000)Type = 'ComIbmComputeNode'
(0x3000000)Name = '0c1401cb-ef00-0000-0080-d72fbb2579f7'
(0x3000000)Label = 'Flow-Test-2.Compute1'
(0x3000000)Text = 'Node throwing exception'
(0x3000000)Catalog = 'MQSeriesIntegrator2'
(0x3000000)Severity = 3
(0x3000000)Number = 2230
(0x1000000)ParserException = (
(0x3000000)File = 'f:/build/argo/src/MTI/MTIforBroker/MtiImbParser/mtiImbParser.cpp'
(0x3000000)Line = 1165
(0x3000000)Function = 'MtiImbParser::parseFirstChild'
(0x3000000)Type = ''
(0x3000000)Name = ''
(0x3000000)Label = ''
(0x3000000)Text = 'MTI Parsing Errors have occurred'
(0x3000000)Catalog = 'MQSeriesIntegrator2'
(0x3000000)Severity = 3
(0x3000000)Number = 5285
(0x1000000)ParserException = (
(0x3000000)File = 'f:/build/argo/src/MTI/MTIforBroker/MtiImbParser/mtiImbParser.cpp'
(0x3000000)Line = 492
(0x3000000)Function = 'MtiImbParser::parseCwfBuffer'
(0x3000000)Type = ''
(0x3000000)Name = ''
(0x3000000)Label = ''
(0x3000000)Text = 'Error Extracting a mesage from the record oriented bitstream.'
(0x3000000)Catalog = 'MQSeriesIntegrator2'
(0x3000000)Severity = 3
(0x3000000)Number = 5125
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '-15'
)
(0x1000000)ParserException = (
(0x3000000)File = 'f:/build/argo/src/MTI/MTIforBroker/MtiImbParser/mtiImbParser.cpp'
(0x3000000)Line = 2335
(0x3000000)Function = 'MtiImbParser::handlecwferr'
(0x3000000)Type = ''
(0x3000000)Name = ''
(0x3000000)Label = ''
(0x3000000)Text = 'CWF Read Buffer Overflow'
(0x3000000)Catalog = 'MQSeriesIntegrator2'
(0x3000000)Severity = 3
(0x3000000)Number = 5181
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '-15'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'GetMessageFromLegacyBitstream'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'DQNLG9S06S001'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'm_String1'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'MRM'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = ''
)
)
)
)
)
)
The question is why an exception was thrown out? This is a very simple scenario. So there must be some place is set incorrectly.
(Note: The message is a plain text which is put through via MQ Explorer. And the message format is "MQSTR").
Thanks in advance, |
|
Back to top |
|
 |
kirani |
Posted: Thu Aug 22, 2002 8:23 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Please see the reply in thread, http://www.mqseries.net/phpBB2/viewtopic.php?t=4913 _________________ 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|