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 » Comments / description fields in message mappings

Post new topic  Reply to topic
 Comments / description fields in message mappings « View previous topic :: View next topic » 
Author Message
DanielG
PostPosted: Thu Dec 14, 2006 9:04 am    Post subject: Comments / description fields in message mappings Reply with quote

Novice

Joined: 29 Mar 2003
Posts: 13

Hi All,

I need to put some descriptive text in V6 message mappings resp. *.msgmap files (not necessarily via the mapping editor).

Is anybody aware of a (generic) possibility to enter some kind of comment or description in V6 message mappings?
Are there any such elements/attributes in the xml source that are preserved during re-saving the mappings?

Thanks,
Daniel
Back to top
View user's profile Send private message
pathipati
PostPosted: Fri Jan 05, 2007 8:40 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Quote:
I need to put some descriptive text in V6 message mappings resp. *.msgmap files (not necessarily via the mapping editor).
<!-- Add this in your .msgmap file with your own text after the first line, just this is the syntax for writing comments in XML -->
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Sat Jan 06, 2007 5:47 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But it's a poor idea to manually edit the mapping file, or even really edit it outside the mapping editor.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jfluitsm
PostPosted: Sun Jan 07, 2007 8:12 am    Post subject: Reply with quote

Disciple

Joined: 24 Feb 2002
Posts: 160
Location: The Netherlands

The .msgmap file has a 1-1 relationship with the corresponding mapping node. You can place comments in the description of the mapping node.
_________________
Jan Fluitsma

IBM Certified Solution Designer WebSphere MQ V6
IBM Certified Solution Developer WebSphere Message Broker V6
Back to top
View user's profile Send private message Send e-mail
pathipati
PostPosted: Sun Jan 07, 2007 7:02 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

jeff wrote:
But it's a poor idea to manually edit the mapping file, or even really edit it outside the mapping editor.

Jeff, adding comments in .msgmap will impact any thing else?
Back to top
View user's profile Send private message Yahoo Messenger
DanielG
PostPosted: Wed Jan 10, 2007 3:54 am    Post subject: Reply with quote

Novice

Joined: 29 Mar 2003
Posts: 13

Hi,
thanks for your answers...

XML comments are removed once you re-save the map using the graphical mapping editor.

I found out, however, that "eAnnotation" elements below the "maplang:MapOperation" elements are preserved by the mapping editor:

<maplang:MapOperation name="I010_IVT_Mapping" ...
...
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="MQSI_META" value="TEST2"/>
</eAnnotations>
...
</maplang:MapOperation>
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 » Comments / description fields in message mappings
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.