WebLogic Messaging API Class Library

IMessageProducer.Priority Property

Gets or Sets the producer's default priority as an int.

The JMS API defines ten levels of priority value, with 0 as the lowest priority and 9 as the highest. Clients should consider priorities 0-4 as gradations of normal priority and priorities 5-9 as gradations of expedited priority. Priority is set to 4 by default.

\xA0Priority\xA0{get;\xA0set;}

Property Value

Represents the message priority for this message producer; must be a value between 0 and 9

Exceptions

Exception TypeCondition
MessageExceptionif JMS fails to get or set the priority due to some internal error.

See Also

IMessageProducer Interface | WebLogic.Messaging Namespace | IMessage.Priority | Constants.Defaults.DEFAULT_PRIORITY