WebSphere MQ Version 6 provides an encoding format for the body
of JMS Map messages through which you can allocate names that are not valid
XML tags to Map entries.
Before you begin
This encoding format can interoperate with WebSphere MQ Version 5.3
and above, and with WebSphere Application Server Version 6.0.2 (with the fixpack)
and above, but not with the earlier WebSphere MQ versions or earlier WebSphere
Application Server Version 6.0 messaging. All WebSphere MQ JMS clients use
the WebSphere MQ Version 6 encoding format by default.
About this task
To specify this encoding format, you use the administrative console
to set the encoding name/value pair as custom properties of the connection
factory. If you specify TRUE the WebSphere MQ Version 5 encoding format is
used. If you specify FALSE, the WebSphere MQ Version 6 encoding format is
used.
For related information, see the WebSphere MQ Using Java book
in the WebSphere
MQ library.
Procedure
- From the administrative console, navigate to .
- Specify the encoding name and value in the Name and Value fields.
The encoding name is MAPNAMESTYLE and the value is a boolean, where TRUE is
the WebSphere MQ Version 5 compatible format and FALSE is the WebSphere MQ
Version 6 format.
- Restart the application server for the properties to take effect.