MQMessage

System.Object
	|
	*- IBM.WMQ.MQBase
		|
		*- IBM.WMQ.MQBaseObject
			|
			*- IBM.WMQ.MQMessage
public class IBM(R).WMQ.MQMessage
extends IBM.WMQ.MQBaseObject
implements DataInput, DataOutput

MQMessage represents both the message descriptor and the data for a WebSphere MQ message. There is group of readXXX methods for reading data from a message, and a group of writeXXX methods for writing data into a message. The format of numbers and strings used by these read and write methods can be controlled by the Encoding and CharacterSet properties. The remaining properties contain control information that accompanies the application message data when a message travels between sending and receiving applications. The application can set values into the property before putting a message to a queue and can read values after retrieving a message from a queue.