Data Type Conversion of Properties

Header properties in an MQSeries message are data structures contained in the message itself. The MQSeries adapter automatically validates and converts certain values in MQSeries message headers when sending and receiving messages.

The following table describes the MQSeries data types and their validation and conversion.

MQSeries data type Validation and conversion
MQLONG MQSeries performs the validation. Converts to a long integer. Values that are not valid prevent the message from going to the MQSeries queue.
MQCHAR Converts to a string.
MQBYTE Converts to a string that contains the characters 0-9 and a-f or A-F, representing the hexadecimal value of the number.

Many of the MQSeries properties are 32-bit (4-byte) unsigned integers. Because uint is not a Common Language Specification (CLS)-compliant type, you must assign them to object types before using them in .NET methods.

See Also

MQSeries Adapter Properties
Properties Related to BizTalk Server
MQSeries Context Properties