Sets the producer's default priority.
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.
Gets the producer's default priority.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Property Priority As Integer Get Set |
| C# |
|---|
int Priority { get; set; } |
| Visual C++ |
|---|
property int Priority { int get (); void set (int value); } |
Return Value
the message priority for this message producer
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to set the priority due to some internal error. |
| Kaazing.JMS..::..JMSException | if the JMS provider fails to get the priority due to some internal error. |
See Also
IMessageProducer..::..Priority
IMessageProducer..::..Priority