XMSC_PRIORITY

    Data type:
    System.Int32

    Property of:
    Destination

    Name used in a URI:
    priority

The priority of messages sent to the destination.

The valid values of the property are as follows:

Valid value Meaning
An integer in the range 0, the lowest priority, to 9, the highest priority A message sent to the destination has the specified priority. The default priority of the message producer, or any priority specified on the Send call, is ignored. If the destination is a IBM MQ queue, the value of the queue attribute DefPriority is also ignored.
XMSC_PRIORITY_AS_APP A message sent to the destination has the priority specified on the Send call. If the Send call specifies no priority, the default priority of the message producer is used instead. If the destination is a IBM MQ queue, the value of the queue attribute DefPriority is ignored.
XMSC_PRIORITY_AS_DEST If the destination is a IBM MQ queue, a message put on the queue has the priority specified by the value of the queue attribute DefPriority. The default priority of the message producer, or any priority specified on the Send call, is ignored.

If the destination is not a IBM MQ queue, the meaning is the same as that of XMSC_PRIORITY_AS_APP.

The default value is XMSC_PRIORITY_AS_APP.

WebSphere MQ Real-Time Transport and WebSphere MQ Multicast Transport take no action based upon the priority of a message.

Parent topic: Property definitions