WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

XMSC_PRIORITY

Data type:
xmsINT
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 WebSphere 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 WebSphere MQ queue, the value of the queue attribute DefPriority is ignored.
XMSC_PRIORITY_AS_DEST If the destination is a WebSphere 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 WebSphere 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.


Reference topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.