|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Input msg copied to output ? |
« View previous topic :: View next topic » |
Author |
Message
|
WBI_user |
Posted: Mon Jan 14, 2002 10:26 am Post subject: |
|
|
Partisan
Joined: 07 Aug 2001 Posts: 386
|
Use a very simple flow
MQINPUT - COMPUTE - MQOUTPUT
MQINPUT accepts BLOB
In the compute node, I just have
DECLARE BB TIME;
SET BB = CURRENT_TIME;
SET OutputRoot.XML.MYMSG.MYTIME=BB;
Just put any message in the Input queue
say '12345'
When I select "copy entire message" in the compute node, the output is
12345<MYMSG><MYTIME>11:12:00..</MYTIME></MYMSG>
When I select "copy message header" in the compute node, the output is
<MYMSG><MYTIME>11:12:00..</MYTIME></MYMSG>
This is what I expect.
However when I insert a postit node (post apply) in front of the compute node, the output always have the input blob infront of the XML message. It doesn't matter if I select copy entire message or copy message header.
In my postit create , I saved "TESTDATA"
In my postit apply I specify copydatato Root.mydata
In my compute node, I have
DECLARE BB TIME;
SET BB = CURRENT_TIME;
SET OutputRoot.XML.MYMSG.MYTIME=BB;
SET OutputRoot.XML.MYMSG.MYDATA=InputRoot.mydata;
Again I just put any message in the Input queue
say '12345'
The output message is
12345<MYMSG><MYTIME>11:12:00..</MYTIME><MYDAT>TESTDATA</MYDATA></MYMSG>
Since I can pickup the TESTDATA correctly, I think I used the postit plug in correctly.
To isolate the problem, I removed
OutputRoot.XML.MYMSG.MYDATA=InputRoot.mydata;
But the output is still
12345<MYMSG><MYTIME>11:12:00..</MYTIME></MYMSG>
I just don't under why I always get the blob "12345" in front of the message. ?
Any idea ?
Should I go to the postit author to see if it is caused by his code ? |
|
Back to top |
|
 |
kirani |
Posted: Mon Jan 14, 2002 10:49 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I am having the same kind of problem with WKSPACE parser. I had sent an email to Neil Kolban about this and waiting for his reply.
I would suggest you to contact the author of the postit plug-in node.
Regards,
Kiran
|
|
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
|
|
|
|