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 » Where the heck is the Message Set ID stored?

Post new topic  Reply to topic
 Where the heck is the Message Set ID stored? « View previous topic :: View next topic » 
Author Message
markneil
PostPosted: Fri Mar 17, 2006 6:18 am    Post subject: Where the heck is the Message Set ID stored? Reply with quote

Apprentice

Joined: 09 Sep 2003
Posts: 26

Hi,
Using WMB V6, and I wanted to generate a list of my message sets with their IDs (e.g. DPJIPBS07Q001) so had a look in the messageSet.mset files, and sure enough, most of my message sets have their IDs in there. But not all of them! I have a few message sets where the ID does not appear in the .mset file or in the other files in the project folder, yet the ID appears in the message set editor in eclipse. I thought it must be in the project folder somewhere, since it must also be in CVS, right?
I'm very confused.

Here's the .mset file:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<msgCoreModel:MRMessageSet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:MSGModel="http://www.ibm.com/msgmodel/2003/MSGModel" xmlns:msgCoreModel="http://www.ibm.com/msgmodel/2003/MSGCoreModel" name="PAPINETDELIVERYV1R1" description="PAPINETDELIVERYV1R1. " messageTypePrefix="" namespacesEnabled="false" msetVersionNo="$Id: messageSet.mset,v 1.1 2006/03/16 16:59:16 mqsi Exp $" currentMessageSetId="//@MRMessageSetID.0">
  <MRMessageSetRep xsi:type="MSGModel:MRXMLMessageSetRep" name="XML" timeZoneID="0" allowLenientDateTimes="true" useMessageSetDefaultDateTimeFormat="true" suppressDOCTYPE="false" doctypeSystemID="DeliveryMessageV1R10.dtd" doctypePublicID="" rootTagName="" enableVersioningSupport="true"/>
  <MRMessageSetID repositoryId="1020156255" messageSetId="125"/>
</msgCoreModel:MRMessageSet>


Thanks for any tips!!
Mark
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Mar 17, 2006 8:45 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I wanted to generate a list of my message sets with their IDs
Any particular reason? Are you are aware that you're allowed to use the message set name instead of the ID these days?

Usually, you won't find the ID in the messageSet.mset file - it's a derived value calculated by the tooling. I would guess that in the cases where you do see it there, it's because you migrated the message set from a 2.1 broker.
Back to top
View user's profile Send private message
markneil
PostPosted: Fri Mar 17, 2006 8:53 am    Post subject: Reply with quote

Apprentice

Joined: 09 Sep 2003
Posts: 26

I wanted it for tidying up purposes. I'm sure there are some message sets that aren't used any more, so by comparing a list of all the message set IDs with a list of references to them from the flows I was hoping to be able to tell which ones weren't used.

In fact, I'm doing this as part of my migration from 2.1, so ALL the message sets have been migrated from 2.1. Weird that the ID is in some files but not others.

Not to worry, it seemed like a good idea at the time.

Cheers
Mark
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 » Where the heck is the Message Set ID stored?
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.