CorrelationId property

Read-write. The CorrelationId to be included in the MQMD of a message when put on a queue, also the Id to be matched against when getting a message from a queue.

Its initial value is null.

Defined in: MQMessage class

Data Type: String of 24 characters

Syntax:
To get: correlid$ = MQMessage.CorrelationId
To set: MQMessage.CorrelationId = correlid$

Note:
See Message Descriptor properties for a discussion of when use CorrelationIdHex in place of the CorrelationId property.