setPriority

 

public void setPriority(int priority) throws JMSException;

Overrides the priority of all messages sent to this destination.

Parameters

  • priority - the new priority. Possible values are:

    • JMSC.MQJMS_PRI_APP

    • JMSC.MQJMS_PRI_QDEF

    • An integer between 0 and 9, inclusive.

Exceptions

  • JMSException - if the value is invalid


uj29230_