|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Need help in building a plugin parser |
« View previous topic :: View next topic » |
Author |
Message
|
cronydude |
Posted: Thu Nov 29, 2001 5:13 am Post subject: |
|
|
 Voyager
Joined: 11 Nov 2001 Posts: 85 Location: US
|
hi folks,
i am trying to build a plugin parser for a CSV file.This is done on the lines of the pseudo XML plugin parser(BipSampPluginParser.c) supplied by IBM along with MQSI V2.0.2.As given in the instructions, i have made changes according to my requirements.
The input message will be in the following format:
,name:crony,street:westgate,
When i use filter and datainsert nodes in my message flow and use the incomming message contents to route and store in the database, it works fine.but when i use a compute node and try to extract data from the incomming message and build a XML output message(i.e., data transformation between parsers), it fails.i am getting an empty tag.
for example if the input is as above and the eSQL statment is
OutputRoot.XML.Test.Name = InputBody.name;
(with copy message headers only option on)
the output is
<Test><Name/></Test>
the expected output is
<Test><Name>crony</Name></Test>
My trace says that the tree (physical message) is built properly.
Could anyone help me in this regard?
Regards
crony
[ This Message was edited by: cronydude on 2001-11-29 05:15 ] |
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 29, 2001 6:59 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Tagged and delimited MRM message support is standard with WMQI (MQSI) 2.1.
If you can upgrade it would save having to develop a parser. It's out December.
Alternatively - have you tried using MRM XML for output?
Can you isolate the problem - it is really due to the parser?
[ This Message was edited by: zpat on 2001-11-29 07:02 ] |
|
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
|
|
|
|