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 » Retrieved MQMD is different from the one stored in DB

Post new topic  Reply to topic
 Retrieved MQMD is different from the one stored in DB « View previous topic :: View next topic » 
Author Message
navjotkaur78
PostPosted: Mon Dec 26, 2011 2:24 am    Post subject: Retrieved MQMD is different from the one stored in DB Reply with quote

Apprentice

Joined: 09 Feb 2006
Posts: 31

We are storing MQMD in Database as BLOB.
When we retrieve, we are able to get the MQMD back with Source Queue information changed. rest of the MQMD fields are as is.

The MQMD retrieved is having the Source Queue of the flow which is issuing the select query. Rest all the fields are of the stored MQMD.

Here is Java compute node code to retrieve the MQMD from DB and storing in environment

Blob prtc_hdr_txt = rs.getBlob("MQMD_Header");
byte[] phdrByte = prtc_hdr_txt.getBytes((long) 1,(int) prtc_hdr_txt.length());

env.getRootElement().createElementAsLastChildFromBitstream(phdrByte, MbMQMD.PARSER_NAME, "", "", "", 0, 0, 0);

Any idea why this is happening.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Dec 26, 2011 8:42 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There is no field in the MQMD that represents the source queue.

That's an additional field that is created by Broker for your assistance.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Retrieved MQMD is different from the one stored in DB
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.