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 Boolean expression, where TRUE is the WebSphere MQ Version 5 compatible format and FALSE is the WebSphere MQ Version 6 format.
  3. Restart the application server for the properties to take effect.
Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 3:36:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-iseries&topic=tjc_mq_map_format
File name: tjc_mq_map_format.html