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 Index » WebSphere Message Broker (ACE) Support » Input msg copied to output ?

Post new topic  Reply to topic
 Input msg copied to output ? « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Mon Jan 14, 2002 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Mon Jan 14, 2002 10:49 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Input msg copied to output ?
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.