Author |
Message
|
DanielG |
Posted: Thu Dec 14, 2006 9:04 am Post subject: Comments / description fields in message mappings |
|
|
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 |
|
 |
pathipati |
Posted: Fri Jan 05, 2007 8:40 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Sat Jan 06, 2007 5:47 am Post subject: |
|
|
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 |
|
 |
jfluitsm |
Posted: Sun Jan 07, 2007 8:12 am Post subject: |
|
|
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 |
|
 |
pathipati |
Posted: Sun Jan 07, 2007 7:02 pm Post subject: |
|
|
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 |
|
 |
DanielG |
Posted: Wed Jan 10, 2007 3:54 am Post subject: |
|
|
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 |
|
 |
|