Setting the WebSphere MQ encoding format for JMS Map entries

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

  1. From the administrative console, navigate to Resources > JMS > JMS providers > WebSphere MQ messaging provider > [Additional Properties] Connection factories > factory_name > Custom properties .
  2. [Updated in April 2012] 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.
    [Updated in April 2012]
    apr2012
  3. Restart the application server for the properties to take effect.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 10:47:11 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-iseries&topic=tjc_mq_map_format
File name: tjc_mq_map_format.html