Setting the WebSphere MQ encoding format for JMS Map entries

JMS Map messages use the class javax.jms.MapMessage. WebSphere® MQ Version 6 provides an encoding format for the body of JMS Map messages that lets you 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, but not with the earlier WebSphere MQ versions. 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 section of the WebSphere MQ library.

Procedure

  1. From the administrative console, navigate to Resources -> JMS -> JMS providers -> WebSphere MQ messaging provider > [Additional Properties] Connection factories > factory_name > Custom properties .
  2. Specify the encoding name and value in the Name and Value fields. The encoding name is MAPNAMESTYLE, and the value is a string. Set the value to one of the following strings:
    COMPATIBLE
    Specifies the WebSphere MQ Version 5 compatible format. This is the default value if the property is not set.
    STANDARD
    Specifies the WebSphere MQ Version 6 format.
  3. Restart the application server for the properties to take effect.
Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Jun 11, 2013 8:40:09 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v701sca&product=was-nd-mp&topic=tjc_mq_map_format
File name: tjc_mq_map_format.html